mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
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.
This commit is contained in:
@@ -15,7 +15,7 @@ env:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: 3.8
|
- python: 3.8
|
||||||
script:
|
script:
|
||||||
- 'pip install coverage'
|
- 'pip install coverage'
|
||||||
- 'coverage run --source jedi -m pytest'
|
- 'coverage run --source jedi -m pytest'
|
||||||
- 'coverage report'
|
- 'coverage report'
|
||||||
@@ -31,7 +31,7 @@ matrix:
|
|||||||
- 'pip install .[qa]'
|
- 'pip install .[qa]'
|
||||||
script:
|
script:
|
||||||
# Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong.
|
# 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:
|
install:
|
||||||
- sudo apt-get -y install python3-venv
|
- sudo apt-get -y install python3-venv
|
||||||
- pip install .[testing]
|
- pip install .[testing]
|
||||||
|
|||||||
Reference in New Issue
Block a user