-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (41 loc) · 856 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
envlist = py38
[testenv]
description = Run the tests under {basepython}
changedir = {envtmpdir}
[testenv:pytest-cov]
deps =
pytest-cov
commands =
pytest --cov=episurfsr --cov-append {posargs} {toxinidir}/tests -v
[testenv:pytest]
deps =
pytest
commands =
pytest {posargs} {toxinidir}/tests -v
[testenv:code_check]
deps =
mypy
flake8
commands =
flake8 {toxinidir}/src/nvc {toxinidir}/scripts
mypy --config-file {toxinidir}/tox.ini \
{posargs} \
{toxinidir}/src/nvc {toxinidir}/scripts {toxinidir}/tests
[testenv:clean]
deps =
coverage
skip_install =
true
commands =
coverage erase
[flake8]
max-line-length = 88
#max-complexity = 18
ignore = E203, W503
[mypy]
ignore_missing_imports = False
follow_imports = silent
show_error_codes = True
#[mypy-vtk.*]
#ignore_missing_imports = True