support-organizer/.forgejo/workflows/default.yml
Firq cb0334becc
All checks were successful
/ backend-pylint (push) Successful in 18s
Disabled double CI for tags
2023-12-21 17:25:28 +01:00

23 lines
635 B
YAML

on:
push:
branches: "**"
jobs:
backend-pylint:
runs-on: docker
container: nikolaik/python-nodejs:python3.11-nodejs21
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
working-directory: ./backend
run: |
pip install -e . -q
python -m pip list --format=columns --disable-pip-version-check
pip install pylint~=2.17.7 --disable-pip-version-check -q
- name: Run pylint
working-directory: ./backend
run: |
pylint --version
pylint **/*.py --exit-zero