forked from savon-noir/python-libnmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (34 loc) · 904 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
[tox]
envlist = py27, py32, py38, flake8, pycodestyle, formatting, defusedxml, coveralls
[testenv]
deps=pytest
pytest-cov
commands=pytest --cov --cov-report term-missing --ignore=libnmap/test/test_backend_plugin_factory.py --ignore=libnmap/test/test_defusedxml.py
[testenv:defusedxml]
deps=pytest
defusedxml
commands=pytest --ignore=libnmap/test/test_backend_plugin_factory.py
[testenv:dbbackend]
deps=pytest
pymongo
sqlalchemy
pymysql
commands=pytest --ignore=libnmap/test/test_defusedxml.py
[testenv:flake8]
deps =
flake8
commands =
flake8 --exclude test,docs,examples,.tox .
[testenv:pycodestyle]
deps =
pycodestyle
commands =
pycodestyle --exclude test,docs,examples,.tox .
[testenv:formatting]
deps =
#black==20.8b1
black
isort
commands =
black --check -l 79 --exclude="venv|.tox" .
isort --check-only -m 3 -l 79 --profile=black .