Skip to content

Commit afe65b6

Browse files
committed
[ci] Linting: Raise "'module' imported but not used" to error-level
1 parent ecff89a commit afe65b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Lint with flake8
4141
run: |
4242
# stop the build if there are Python syntax errors or undefined names
43-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
43+
flake8 . --count --select=E9,F63,F7,F82,F401 --show-source --statistics
4444
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4545
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4646
- name: Test with pytest
@@ -77,7 +77,7 @@ jobs:
7777
- name: Lint with flake8
7878
run: |
7979
# stop the build if there are Python syntax errors or undefined names
80-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
80+
flake8 . --count --select=E9,F63,F7,F82,F401 --show-source --statistics
8181
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
8282
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
8383
- name: Test with pytest

0 commit comments

Comments
 (0)