[cicd] change flake8 directory

This commit is contained in:
SouthFox 2023-07-29 17:02:34 +08:00
parent 76b4046ed4
commit 49a191ef72

View file

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