dockge-cli/.forgejo/workflows/lint.yaml
Firq bcafbeb3cf
All checks were successful
/ backend-pylint (push) Successful in 9s
Initial Commit
2024-06-29 14:14:18 +02:00

21 lines
586 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
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
run: |
pylint --version
pylint **/*.py --exit-zero --rc-file pyproject.toml