This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
143 lines (118 loc) · 2.33 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = pytest{62,70,71,72,73,74},pytest{62,70,71,72,73,74}-xdist,autopep8,flake8,mypy,pycodestyle
[testenv]
extras = dev
commands = pytest {posargs:tests}
[testenv:pytest62]
deps =
pytest>=6.2.0,<6.3.0
[testenv:pytest62-xdist]
deps =
pytest>=6.2.0,<6.3.0
pytest-xdist==2.3.0
setenv =
TEST_XDIST = 1
[testenv:pytest70]
deps =
pytest>=7.0.0,<7.1.0
[testenv:pytest70-xdist]
deps =
pytest>=7.0.0,<7.1.0
pytest-xdist==2.4.0
setenv =
TEST_XDIST = 1
[testenv:pytest71]
deps =
pytest>=7.1.0,<7.2.0
[testenv:pytest71-xdist]
deps =
pytest>=7.1.0,<7.2.0
pytest-xdist==2.5.0
setenv =
TEST_XDIST = 1
[testenv:pytest72]
deps =
pytest>=7.2.0,<7.3.0
[testenv:pytest72-xdist]
deps =
pytest>=7.2.0,<7.3.0
pytest-xdist==2.5.0
setenv =
TEST_XDIST = 1
[testenv:pytest73]
deps =
pytest>=7.3.0,<7.4.0
[testenv:pytest73-xdist]
deps =
pytest>=7.3.0,<7.4.0
pytest-xdist==2.5.0
setenv =
TEST_XDIST = 1
[testenv:pytest74]
deps =
pytest>=7.4.0,<7.5.0
[testenv:pytest74-xdist]
deps =
pytest>=7.4.0,<7.5.0
pytest-xdist==2.5.0
setenv =
TEST_XDIST = 1
[testenv:pytest80]
deps =
pytest>=8.0.0,<8.1.0
[testenv:pytest80-xdist]
deps =
pytest>=8.0.0,<8.1.0
pytest-xdist==3.6.1
setenv =
TEST_XDIST = 1
[testenv:pytest81]
deps =
pytest>=8.1.0,<8.2.0
[testenv:pytest81-xdist]
deps =
pytest>=8.1.0,<8.2.0
pytest-xdist==3.6.1
setenv =
TEST_XDIST = 1
[testenv:pytest82]
deps =
pytest>=8.2.0,<8.3.0
[testenv:pytest82-xdist]
deps =
pytest>=8.2.0,<8.3.0
pytest-xdist==3.6.1
setenv =
TEST_XDIST = 1
[testenv:autopep8]
deps =
autopep8==2.0.4
isort==5.12.0
commands =
isort src tests
autopep8 -i -r src tests
[testenv:flake8]
deps =
flake8==6.1.0
flake8-quotes
commands = flake8 src tests
[testenv:mypy]
deps =
mypy==1.6.1
py>=1.9.0
types-requests
types-setuptools
typing_extensions
commands = mypy --strict --allow-untyped-decorators src tests
[testenv:pycodestyle]
deps =
pycodestyle==2.11.1
commands = pycodestyle src tests
# See https://flake8.pycqa.org/en/latest/user/configuration.html.
[flake8]
max_line_length = 100
# Used by https://github.com/zheller/flake8-quotes.
inline-quotes = single
[pycodestyle]
max-line-length = 100