mirror of
https://github.com/dcarrillo/digaws.git
synced 2024-12-22 20:58:00 +00:00
Merge pull request #7 from dcarrillo/fix-mypy
Install missing stubs for mypy
This commit is contained in:
commit
61970f6679
@ -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']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user