mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
get mypy tox env running in the current setup
This commit is contained in:
parent
6b29d159a2
commit
66169eae5c
4 changed files with 9 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -38,6 +38,7 @@ tests/letstest/venv/
|
|||
|
||||
# pytest cache
|
||||
.cache
|
||||
.mypy_cache/
|
||||
|
||||
# docker files
|
||||
.docker
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -65,6 +65,10 @@ dev_extras = [
|
|||
'wheel',
|
||||
]
|
||||
|
||||
dev3_extras = [
|
||||
'mypy',
|
||||
]
|
||||
|
||||
docs_extras = [
|
||||
'repoze.sphinx.autointerface',
|
||||
# autodoc_member_order = 'bysource', autodoc_default_flags, and #4686
|
||||
|
|
@ -110,6 +114,7 @@ setup(
|
|||
install_requires=install_requires,
|
||||
extras_require={
|
||||
'dev': dev_extras,
|
||||
'dev3': dev3_extras,
|
||||
'docs': docs_extras,
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ josepy==1.0.1
|
|||
logger==1.4
|
||||
logilab-common==1.4.1
|
||||
MarkupSafe==1.0
|
||||
mypy==0.580
|
||||
ndg-httpsclient==0.3.2
|
||||
oauth2client==2.0.0
|
||||
pathlib2==2.3.0
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -136,9 +136,9 @@ commands =
|
|||
pylint --reports=n --rcfile=.pylintrc {[base]source_paths}
|
||||
|
||||
[testenv:mypy]
|
||||
basepython = python3.4
|
||||
basepython = python3.5
|
||||
commands =
|
||||
{[base]pip_install} mypy
|
||||
{[base]pip_install} .[dev3]
|
||||
{[base]install_packages}
|
||||
mypy --py2 --ignore-missing-imports {[base]source_paths}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue