mypy: Add to tox
This commit is contained in:
parent
2152081d82
commit
85b2fb513b
5
misc/requirements/requirements-mypy.txt
Normal file
5
misc/requirements/requirements-mypy.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# This file is automatically generated by scripts/dev/recompile_requirements.py
|
||||
|
||||
mypy==0.641
|
||||
mypy-extensions==0.4.1
|
||||
typed-ast==1.1.0
|
1
misc/requirements/requirements-mypy.txt-raw
Normal file
1
misc/requirements/requirements-mypy.txt-raw
Normal file
@ -0,0 +1 @@
|
||||
mypy
|
10
tox.ini
10
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user