mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-22 15:10:12 +01:00
Update flake8.yaml
This commit is contained in:
parent
9482804c8f
commit
153b96fd45
3
.github/workflows/flake8.yaml
vendored
3
.github/workflows/flake8.yaml
vendored
@ -28,4 +28,5 @@ jobs:
|
|||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
# exit-zero treats all errors as warnings. ignore magic numbers and use double quotes and ignore numbers with zeroes before them.
|
# exit-zero treats all errors as warnings. ignore magic numbers and use double quotes and ignore numbers with zeroes before them.
|
||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=90 --ignore=WPS432,WPS339 --inline-quotes double --statistics
|
# and ignore lowercase hex numbers and ignore isort incorrect imports
|
||||||
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=90 --ignore=WPS432,WPS339,WPS341,I --inline-quotes double --statistics
|
||||||
|
Loading…
Reference in New Issue
Block a user