extract mypy flags into mypy.ini file

This commit is contained in:
Erica Portnoy 2018-04-12 16:15:59 -07:00
parent 2d31598484
commit 4fd1ac9c4b
2 changed files with 4 additions and 1 deletions

3
mypy.ini Normal file
View file

@ -0,0 +1,3 @@
[mypy]
python_version = 2.7
ignore_missing_imports = True

View file

@ -140,7 +140,7 @@ basepython = python3
commands =
{[base]pip_install} .[dev3]
{[base]install_packages}
mypy --py2 --ignore-missing-imports {[base]source_paths}
mypy {[base]source_paths}
[testenv:apacheconftest]
#basepython = python2.7