forked from peering-manager/peering-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (24 loc) · 888 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
[tox]
skipsdist = true
envlist = py36,py37,py38,py39,py310
[testenv]
whitelist_externals = cp
deps =
-rrequirements.txt
coveralls
setenv =
PYTHONWARNINGS = module::DeprecationWarning
passenv = *
commands =
cp peering_manager/configuration.example.py peering_manager/configuration.py
coverage run --source=bgp,devices,extras,net,netbox,peering,peeringdb,peering_manager,users,utils --omit=*/apps.py,*/migrations/*,peering_manager/asgi.py,peering_manager/wsgi.py,peering_manager/settings.py,peering_manager/configuration.*,manage.py manage.py test
[testenv:black]
deps = black
basepython = python3.9
commands =
black --check bgp devices extras net netbox peering peering_manager peeringdb users utils
[testenv:isort]
deps = isort
basepython = python3.9
commands =
isort --check bgp devices extras net netbox peering peering_manager peeringdb users utils