Skip to content

Commit b573d97

Browse files
committed
Update workshop flake8.
1 parent 8d4c7e7 commit b573d97

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python_no_pycsou.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
pip install flake8
4444
# stop the build if there are Python syntax errors or undefined names
45-
flake8 . --count --select=B,C,E,F,W,T4,B9 --show-source --statistics --max-complexity=18 --max-line-length=100 --ignore=E203,E266,E501,W503,F403,F401,C901 --exclude=profile,scripts,docs
45+
flake8 . --count --select=B,C,E,F,W,T4,B9 --show-source --statistics --max-complexity=18 --max-line-length=100 --ignore=E203,E266,E501,W503,F403,F401,C901,PLW0602 --exclude=profile,scripts,docs
4646
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4747
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4848
- name: Format with black

.github/workflows/python_pycsou.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
pip install flake8
4444
# stop the build if there are Python syntax errors or undefined names
45-
flake8 . --count --select=B,C,E,F,W,T4,B9 --show-source --statistics --max-complexity=18 --max-line-length=100 --ignore=E203,E266,E501,W503,F403,F401,C901 --exclude=profile,scripts,docs
45+
flake8 . --count --select=B,C,E,F,W,T4,B9 --show-source --statistics --max-complexity=18 --max-line-length=100 --ignore=E203,E266,E501,W503,F403,F401,C901,PLW0602 --exclude=profile,scripts,docs
4646
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4747
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4848
- name: Format with black

0 commit comments

Comments
 (0)