Skip to content

Commit

Permalink
Travis CI: Add more flake8 tests and lint on Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Oct 25, 2019
1 parent 4fad994 commit 8c65eef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ flake8-steps: &flake8-steps
before_script:
- flake8 --version
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics --exclude ./ckan/include/rjsmin.py,./contrib/cookiecutter/*
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude ./ckan/include/rjsmin.py,./contrib/cookiecutter/*
# 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
script:
Expand Down Expand Up @@ -43,6 +43,5 @@ matrix:
- python: "2.7"
<<: *flake8-steps

- python: "3.7"
dist: xenial # required for Python 3.7
- python: "3.8"
<<: *flake8-steps

0 comments on commit 8c65eef

Please sign in to comment.