forked from canonical/python-libmaas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (30 loc) · 633 Bytes
/
tox.ini
File metadata and controls
35 lines (30 loc) · 633 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
32
33
34
35
[tox]
envlist = py3, lint, imports
[testenv:py3]
commands = coverage run setup.py test {posargs}
sitepackages = False
deps = coverage
[testenv:integrate]
commands = {envpython} -m integrate {posargs}
sitepackages = False
usedevelop = True
deps =
fixtures
testscenarios
testtools
[testenv:format]
commands = black maas
sitepackages = False
skip_install = True
deps = black
[testenv:lint]
commands = black --check maas
sitepackages = False
skip_install = True
deps = black
[testenv:imports]
commands = {toxinidir}/scripts/check-imports
setenv = PYTHONPATH={toxinidir}
sitepackages = False
skip_install = True
deps = twisted