-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
44 lines (36 loc) · 804 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
[tox]
envlist = unit-tests
skipsdist = true
[testenv:unit-tests]
passenv = *
basepython = python3.9
deps = -r requirements.txt
-r devel-requirements.txt
commands =
pytest -m "unit" {posargs}
[testenv:record-new]
passenv = *
basepython = python3.9
deps = -r requirements.txt
-r devel-requirements.txt
commands =
pytest --record-mode=once {posargs}
[testenv:record-rewrite]
passenv = *
basepython = python3.9
deps = -r requirements.txt
-r devel-requirements.txt
commands =
pytest --record-mode=rewrite {posargs}
[testenv:black]
deps = black==21.11b1
click==7.1.2
commands = black --check .
[testenv:isort]
profile = black
skip = venv,.tox
[flake8]
ignore = W504,W503,E203,E501,F401,F403,F405,F841
[testenv:flake8]
deps = flake8
commands = flake8