-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
54 lines (40 loc) · 1.06 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist = py3-django{42}
[testenv:py3-django{42}]
commands = python3 -B -m pytest {posargs} -- py_tests/unit_tests/
deps =
pytest>=6.0.0
pytest-django>=4.0.0
pytest-randomly>=3.0.0
django42: Django>=4.2,<5.0
passenv =
PY_COLORS
PYTEST_*
[testenv:py3-end2end]
commands = python3 -B -m pytest -v {posargs} -- py_tests/end_to_end_tests/
deps =
pytest>=6.0.0
pytest-django>=4.0.0
pytest-selenium>=3.0.0
selenium>=3.0,<4.0
Django>=4.2,<5.0
passenv =
DISPLAY
PY_COLORS
PYTEST_*
TESTINGBOT_*
[testenv:black]
commands = python3 -B -m black {posargs} -- convenient_formsets/ py_tests/ setup.py
deps = black
[testenv:flake8]
commands = python3 -B -m flake8 {posargs} -- convenient_formsets/ py_tests/
deps = flake8
[testenv:isort]
commands = python3 -B -m isort {posargs} -- convenient_formsets/ py_tests/ setup.py
deps = isort
[testenv:mypy]
commands = python3 -B -m mypy {posargs} -- convenient_formsets/
deps = mypy
[testenv:pylint]
commands = python3 -B -m pylint {posargs} -- convenient_formsets/
deps = pylint