@@ -68,6 +68,36 @@ commands =
6868 twine check dist/*.tar.gz dist/*.whl
6969 check-wheel-contents dist/
7070
71+ [testenv:lint]
72+ basepython = python3.7
73+ changedir = {toxinidir}
74+ ignore_errors = True
75+ skip_install = False
76+ deps =
77+ flake8>=3.8.2,<5
78+ flake8-2020>=1.6.0
79+ flake8-builtins>=1.5.3
80+ flake8-docstrings>=1.5.0
81+ flake8-dunder-all>=0.1.1
82+ flake8-encodings>=0.1.0
83+ flake8-github-actions>=0.1.0
84+ flake8-noqa>=1.1.0,<=1.2.2
85+ flake8-pyi>=20.10.0,<=22.8.0
86+ flake8-pytest-style>=1.3.0
87+ flake8-quotes>=3.3.0
88+ flake8-slots>=0.1.0
89+ flake8-sphinx-links>=0.0.4
90+ flake8-strftime>=0.1.1
91+ flake8-typing-imports>=1.10.0
92+ git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
93+ git+https://github.com/domdfcoding/flake8-rst-docstrings.git
94+ git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
95+ git+https://github.com/python-formate/flake8-missing-annotations.git
96+ pydocstyle>=6.0.0
97+ pygments>=2.7.1
98+ importlib_metadata<4.5.0; python_version<'3.8'
99+ commands = python3 -m flake8_rst_docstrings_sphinx flake8_sphinx_links tests --allow-toolbox {posargs}
100+
71101[testenv:perflint]
72102basepython = python3.6
73103changedir = {toxinidir}
@@ -162,28 +192,5 @@ filterwarnings =
162192 error
163193 ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning
164194
165- [testenv:lint]
166- basepython = python3.6
167- changedir = {toxinidir}
168- ignore_errors = True
169- deps =
170- flake8 >=3.8.2
171- flake8-2020 >= 1.6.0
172- flake8-builtins>=1.5.3
173- flake8-docstrings>=1.5.0
174- flake8-dunder-all>=0.1.1
175- flake8-github-actions>=0.1.0
176- flake8-pyi>=20.10.0
177- flake8-pytest-style>=1.3.0
178- flake8-sphinx-links>=0.0.4
179- flake8-strftime>=0.1.1
180- flake8-typing-imports>=1.10.0
181- git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
182- git+https://github.com/domdfcoding/flake8-quotes.git
183- git+https://github.com/domdfcoding/flake8-rst-docstrings.git
184- git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
185- pygments>=2.7.1
186- commands = python3 -m flake8_rst_docstrings_sphinx flake8_sphinx_links tests --allow-toolbox {posargs}
187-
188195[dep_checker]
189196allowed_unused = flake8
0 commit comments