Install missing stubs for mypy

This commit is contained in:
Daniel Carrillo 2021-07-01 19:29:38 +02:00
parent a3517a25ab
commit 613727ef5a
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 3 additions and 1 deletions

View File

@ -1,10 +1,12 @@
import nox import nox
nox.options.sessions = ['lint', 'typing', 'tests'] nox.options.sessions = ['lint', 'typing', 'tests']
locations = ['noxfile.py', 'setup.py', 'digaws/', 'tests/'] locations = ['noxfile.py', 'setup.py', 'digaws/', 'tests/']
lint_common_args = ['--max-line-length', '120'] lint_common_args = ['--max-line-length', '120']
mypy_args = ['--ignore-missing-imports'] mypy_args = ['--ignore-missing-imports', '--install-types', '--non-interactive']
pytest_args = ['--cov=digaws', '--cov-report=', 'tests/'] pytest_args = ['--cov=digaws', '--cov-report=', 'tests/']
coverage_args = ['report', '--show-missing', '--fail-under=80'] coverage_args = ['report', '--show-missing', '--fail-under=80']