-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (28 loc) · 674 Bytes
/
Copy pathtox.ini
File metadata and controls
31 lines (28 loc) · 674 Bytes
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
[tox]
envlist = flake8,mypy,py36,py38,py39
recreate = True
requires = tox-conda
skipsdist = True
[testenv]
deps =
-r {toxinidir}/requirements.txt
changedir = {toxinidir}/tests
commands =
pytest --cov-report=term-missing --cov=dyconnmap .
[testenv:flake8]
deps =
flake8
#flake8-bandit
flake8-colors
flake8-docstrings
flake8-import-order
pep8-naming
changedir = {toxinidir}
skip_install = true
commands =
flake8 dyconnmap/ tests/ setup.py --show-source --statistics
[testenv:mypy]
deps = mypy
skip_install = true
changedir = {toxinidir}
commands = mypy dyconnmap/ --ignore-missing-import --no-warn-no-return --config-file=/dev/null