-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
70 lines (60 loc) · 1.01 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[tox]
envlist = py3{8,9,10,11,12}
[testenv:lint]
recreate = true
deps =
black
flake8
flake8-isort
flake8-quotes
allowlist_externals = flake8
commands =
black .
flake8 .
[testenv]
recreate = true
deps =
pytest-xdist
allure-python-commons-test
commands =
python --version
pip freeze
pytest
setenv =
ALLURE_INDENT_OUTPUT=1
GLAMOR_TESTING_MODE=1
[flake8]
enable_extensions = flake8-isort
max_line_length = 79
disable_noqa = True
exclude = venv*,.tox,.eggs
per-file-ignores =
# F401 imported but unused
# F403 wildcard import
**/__init__.py: F401
pitest.py: F401,F403
[pytest]
addopts =
-x
-r a
-q
-n auto
--color yes
--code-highlight yes
--no-header
testpaths = tests
[isort]
star_first = true
from_first = true
multi_line_output = 3
skip_glob = */venv*,*/.tox/*,*/.eggs/*
line_length = 79
combine_as_imports = true
include_trailing_comma = true