diff options
author | Florian Bruhin <me@the-compiler.org> | 2018-11-22 08:30:28 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2018-11-22 13:51:55 +0100 |
commit | 85b2fb513bdd03666ba864fd83f3cdca2f81333a (patch) | |
tree | 39f2cfdaedb4f88a0454119e6797b1f994eb2d27 /tox.ini | |
parent | 2152081d82bb9ea43bfd5562c6f964ff4026f193 (diff) | |
download | qutebrowser-85b2fb513bdd03666ba864fd83f3cdca2f81333a.tar.gz qutebrowser-85b2fb513bdd03666ba864fd83f3cdca2f81333a.zip |
mypy: Add to tox
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -188,3 +188,13 @@ deps = whitelist_externals = eslint changedir = {toxinidir}/qutebrowser/javascript commands = eslint --color --report-unused-disable-directives . + +[testenv:mypy] +basepython = {env:PYTHON:python3} +passenv = +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/misc/requirements/requirements-mypy.txt +commands = + #{envpython} -m mypy --ignore-missing-imports --allow-untyped-decorators --allow-subclassing-any --strict src + {envpython} -m mypy qutebrowser |