Skip to content

Commit 36a75ce

Browse files
cclaussgithub-actions
authored andcommitted
Travis CI: Strict flake8 (TheAlgorithms#1962)
* Travis CI: Strict flake8 Turn the screws all the way down. * updating DIRECTORY.md * Switch from flake8 --select to --ignore * Quotes * IGNORE=E123,E203,E265,E266,E302,E401,E402,E712,E731,E741,E743,F811,F841,W291,W293,W503 Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent 15b4e3d commit 36a75ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ before_install: pip install --upgrade pip setuptools six
77
install: pip install -r requirements.txt
88
before_script:
99
- black --check . || true
10-
- flake8 . --count --select=E101,E5,E722,E9,F4,F63,F7,F82,W191 --max-complexity=25 --max-line-length=127 --show-source --statistics
11-
- flake8 . --count --exit-zero --max-line-length=127 --statistics
10+
- IGNORE=E123,E203,E265,E266,E302,E401,E402,E712,E731,E741,E743,F811,F841,W291,W293,W503
11+
- flake8 . --count --ignore=$IGNORE --max-complexity=25 --max-line-length=127 --show-source --statistics
1212
script:
1313
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
1414
- mypy --ignore-missing-imports .

0 commit comments

Comments
 (0)