From 49a191ef72ff254638c146288be195a27a27a5ee Mon Sep 17 00:00:00 2001 From: SouthFox Date: Sat, 29 Jul 2023 17:02:34 +0800 Subject: [PATCH] [cicd] change flake8 directory --- .woodpecker/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 8c78e00..b8fe6fd 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -5,5 +5,5 @@ pipeline: - poetry add pylint flake8 - poetry install - 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 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - poetry run flake8 ./app --count --select=E9,F63,F7,F82 --show-source --statistics + - poetry run flake8 ./app --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics