Skip to content

Commit e137a6e

Browse files
authored
Merge pull request #277 from jakub-nt/standardize-flake8
Use the same flake8 command in legacy Python tests as in regular tests
2 parents 6cc6f5b + 970a839 commit e137a6e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/python-tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ jobs:
7373
python-version: ${{ matrix.python-version }}
7474
- name: Lint with flake8
7575
run: |
76-
# stop the build if there are Python syntax errors or undefined names
77-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
78-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
79-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
76+
flake8 . --ignore=E203,W503,E722,E731 --max-complexity=100 --max-line-length=160
8077
- name: Test with pytest
8178
run: |
8279
pytest

0 commit comments

Comments
 (0)