From b651c6541a6bf881ef09ac761b2cfbc85d3a1eea Mon Sep 17 00:00:00 2001 From: Peter Law Date: Tue, 21 Jul 2020 23:15:20 +0100 Subject: [PATCH] Configure travis' flake8 call more explicitly I'm basing this on '{posargs:jedi}' looking like it was a tox thing, which we're no longer using. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d7c418a4..89102f4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ env: matrix: include: - python: 3.8 - script: + script: - 'pip install coverage' - 'coverage run --source jedi -m pytest' - 'coverage report' @@ -31,7 +31,7 @@ matrix: - 'pip install .[qa]' script: # Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong. - - 'flake8 --extend-ignore F401 {posargs:jedi}' + - 'flake8 --extend-ignore F401 jedi setup.py' install: - sudo apt-get -y install python3-venv - pip install .[testing]