mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-13 19:04:30 +02:00
excluded W503,E722 and raised complexity in flake8 workflow
This commit is contained in:
parent
33e9b91723
commit
fd5a332f8c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -37,9 +37,9 @@ jobs:
|
|||
run: |
|
||||
pip install flake8
|
||||
# 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 --ignore W503,E722 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
flake8 . --count --exit-zero --max-complexity=15 --max-line-length=127 --statistics
|
||||
#- name: Test with pytest
|
||||
# run: |
|
||||
# pip install pytest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue