fix: [flake8] Addressed flake8 warnings.

This commit is contained in:
Cédric Bonhomme 2022-11-20 21:49:02 +01:00
parent 0f8b0cef1f
commit fb4b596726
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
8 changed files with 17 additions and 13 deletions

View file

@ -31,7 +31,7 @@ tasks:
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings.
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
poetry run flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
- test: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project}