From 8c65eefdc98c28adfe7d422b6715b22874c81157 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 26 Oct 2019 00:23:32 +0200 Subject: [PATCH] Travis CI: Add more flake8 tests and lint on Python 3.8 --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e19aac7ee59..2759bdedff9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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