foxhole/.woodpecker/lint.yml
SouthFox 2b44847744
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/woodpecker Pipeline was successful
[cicd] disable orrgpython pylint
2023-07-29 08:43:39 +08:00

14 lines
514 B
YAML

pipeline:
pylint:
image: fnndsc/python-poetry
commands:
- poetry add pylint
- poetry install
- find ./app -not -path "./app/orgpython/*" -type f -name "*.py" | xargs poetry run pylint --disable=E0401,W0511
flake8:
image: fnndsc/python-poetry
commands:
- poetry add flake8
- poetry install
- poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics