5
5
# * testenv
6
6
# * testenv:docs
7
7
# * testenv:build
8
+ # * testenv:lint
8
9
# * testenv:perflint
9
10
# * testenv:mypy
10
11
# * testenv:pyup
@@ -22,10 +23,12 @@ envlist =
22
23
py38
23
24
py39
24
25
py310
25
- py311-dev
26
+ py311
27
+ py312-dev
26
28
pypy36
27
29
pypy37
28
30
pypy38
31
+ pypy39
29
32
mypy
30
33
build
31
34
skip_missing_interpreters = True
@@ -36,7 +39,18 @@ requires =
36
39
virtualenv!=20.16.0
37
40
38
41
[envlists]
39
- test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
42
+ test =
43
+ py36
44
+ py37
45
+ py38
46
+ py39
47
+ py310
48
+ py311
49
+ py312-dev
50
+ pypy36
51
+ pypy37
52
+ pypy38
53
+ pypy39
40
54
qa = mypy, lint
41
55
cov = py38, coverage
42
56
@@ -70,6 +84,36 @@ commands =
70
84
twine check dist/*.tar.gz dist/*.whl
71
85
check-wheel-contents dist/
72
86
87
+ [testenv:lint]
88
+ basepython = python3.8
89
+ changedir = {toxinidir}
90
+ ignore_errors = True
91
+ skip_install = False
92
+ deps =
93
+ flake8>=3.8.2,<5
94
+ flake8-2020>=1.6.0
95
+ flake8-builtins>=1.5.3
96
+ flake8-docstrings>=1.5.0
97
+ flake8-dunder-all>=0.1.1
98
+ flake8-encodings>=0.1.0
99
+ flake8-github-actions>=0.1.0
100
+ flake8-noqa>=1.1.0,<=1.2.2
101
+ flake8-pyi>=20.10.0,<=22.8.0
102
+ flake8-pytest-style>=1.3.0
103
+ flake8-quotes>=3.3.0
104
+ flake8-slots>=0.1.0
105
+ flake8-sphinx-links>=0.0.4
106
+ flake8-strftime>=0.1.1
107
+ flake8-typing-imports>=1.10.0
108
+ git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
109
+ git+https://github.com/domdfcoding/flake8-rst-docstrings.git
110
+ git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
111
+ git+https://github.com/python-formate/flake8-missing-annotations.git
112
+ pydocstyle>=6.0.0
113
+ pygments>=2.7.1
114
+ importlib_metadata<4.5.0; python_version<'3.8'
115
+ commands = python3 -m flake8_rst_docstrings_sphinx flake8_strftime tests --allow-toolbox {posargs}
116
+
73
117
[testenv:perflint]
74
118
basepython = python3.8
75
119
changedir = {toxinidir}
@@ -165,53 +209,5 @@ filterwarnings =
165
209
error
166
210
ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning
167
211
168
- [testenv:lint]
169
- basepython = python3.8
170
- changedir = {toxinidir}
171
- ignore_errors = True
172
- skip_install = False
173
- deps =
174
- flake8>=3.8.2,<5
175
- flake8-2020>=1.6.0
176
- flake8-builtins>=1.5.3
177
- flake8-docstrings>=1.5.0
178
- flake8-dunder-all>=0.1.1
179
- flake8-encodings>=0.1.0
180
- flake8-github-actions>=0.1.0
181
- flake8-noqa>=1.1.0,<=1.2.2
182
- flake8-pyi>=20.10.0,<=22.8.0
183
- flake8-pytest-style>=1.3.0
184
- flake8-quotes>=3.3.0
185
- flake8-slots>=0.1.0
186
- flake8-sphinx-links>=0.0.4
187
- flake8-strftime>=0.1.1
188
- flake8-typing-imports>=1.10.0
189
- git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
190
- git+https://github.com/domdfcoding/flake8-rst-docstrings.git
191
- git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
192
- git+https://github.com/python-formate/flake8-missing-annotations.git
193
- pydocstyle>=6.0.0
194
- pygments>=2.7.1
195
- importlib_metadata<4.5.0; python_version<'3.8'
196
- commands = python3 -m flake8_rst_docstrings_sphinx flake8_strftime tests --allow-toolbox {posargs}
197
-
198
- [gh-actions]
199
- python =
200
- 3.6: py36, build, mypy
201
- 3.7: py37, build
202
- 3.8: py38, build
203
- 3.9: py39, build
204
- 3.10-dev: py310-dev, build
205
- pypy3: pypy3, build
206
-
207
- [travis]
208
- python =
209
- 3.6: py36, build, mypy
210
- 3.7: py37, build
211
- 3.8: py38, build
212
- 3.9: py39, build
213
- 3.10-dev: py310-dev, build
214
- pypy3: pypy3, build
215
-
216
212
[dep_checker]
217
213
allowed_unused = flake8
0 commit comments