Merge pull request #7 from dcarrillo/fix-mypy

Install missing stubs for mypy
This commit is contained in:
Daniel Carrillo 2021-07-01 19:55:08 +02:00 committed by GitHub
commit 61970f6679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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']