From edc506b97855a98db2551a2289ab47dcb5312748 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 21 Oct 2019 18:52:27 +0200 Subject: [PATCH] Travis CI: Upgrade to Python 3.8 and add more flake8 tests (#1304) --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3606c35ab..3f1464a6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ python-steps: &python-steps install: pip install flake8 script: # stop the build if there are Python syntax errors or undefined names - - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # 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 @@ -22,6 +22,5 @@ matrix: <<: *node_js-steps - python: "2.7" <<: *python-steps - - python: "3.7" - dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069) + - python: "3.8" <<: *python-steps