Skip to content

Commit

Permalink
Merge pull request #5040 from cclauss/patch-2
Browse files Browse the repository at this point in the history
Travis CI: Add more flake8 tests and lint on Python 3.8
  • Loading branch information
amercader committed Nov 5, 2019
2 parents 5bd7fd9 + 8c65eef commit a06276c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
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 a06276c

Please sign in to comment.