1
0
forked from VimPlug/jedi

Configure mypy and flake8 for our re-export files

This removes the need to use __all__ in these files, while also
allowing us to have strictness elsewhere in the codebase.
This commit is contained in:
Peter Law
2020-07-26 12:20:08 +01:00
parent 45c90efb5c
commit cefc363f64
4 changed files with 15 additions and 35 deletions

View File

@@ -30,8 +30,7 @@ matrix:
install:
- 'pip install .[qa]'
script:
# Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong.
- 'flake8 --extend-ignore F401 jedi setup.py'
- 'flake8 jedi setup.py'
- 'mypy jedi sith.py'
install:
- sudo apt-get -y install python3-venv