|
4 | 4 | # * envlists
|
5 | 5 | # * testenv:docs
|
6 | 6 | # * testenv:build
|
7 |
| -# * testenv:lint |
8 | 7 | # * testenv:mypy
|
9 | 8 | # * testenv:pyup
|
10 | 9 | # * testenv:coverage
|
@@ -48,30 +47,6 @@ commands =
|
48 | 47 | twine check dist/*.tar.gz dist/*.whl
|
49 | 48 | check-wheel-contents dist/
|
50 | 49 |
|
51 |
| -[testenv:lint] |
52 |
| -basepython = python3.6 |
53 |
| -changedir = {toxinidir} |
54 |
| -ignore_errors = True |
55 |
| -skip_install = True |
56 |
| -deps = |
57 |
| - flake8 >=3.8.2 |
58 |
| - flake8-2020 >= 1.6.0 |
59 |
| - flake8-builtins>=1.5.3 |
60 |
| - flake8-docstrings>=1.5.0 |
61 |
| - flake8-dunder-all>=0.1.1 |
62 |
| - flake8-github-actions>=0.1.0 |
63 |
| - flake8-pyi>=20.10.0 |
64 |
| - flake8-pytest-style>=1.3.0 |
65 |
| - flake8-sphinx-links>=0.0.4 |
66 |
| - flake8-strftime>=0.1.1 |
67 |
| - flake8-typing-imports>=1.10.0 |
68 |
| - git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf |
69 |
| - git+https://github.com/domdfcoding/flake8-quotes.git |
70 |
| - git+https://github.com/domdfcoding/flake8-rst-docstrings.git |
71 |
| - git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2 |
72 |
| - pygments>=2.7.1 |
73 |
| -commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs} |
74 |
| - |
75 | 50 | [testenv:mypy]
|
76 | 51 | basepython = python3.6
|
77 | 52 | ignore_errors = True
|
@@ -130,6 +105,29 @@ package = domdf_python_tools
|
130 | 105 | addopts = --color yes --durations 25
|
131 | 106 | timeout = 300
|
132 | 107 |
|
| 108 | +[testenv:lint] |
| 109 | +basepython = python3.6 |
| 110 | +changedir = {toxinidir} |
| 111 | +ignore_errors = True |
| 112 | +deps = |
| 113 | + flake8 >=3.8.2 |
| 114 | + flake8-2020 >= 1.6.0 |
| 115 | + flake8-builtins>=1.5.3 |
| 116 | + flake8-docstrings>=1.5.0 |
| 117 | + flake8-dunder-all>=0.1.1 |
| 118 | + flake8-github-actions>=0.1.0 |
| 119 | + flake8-pyi>=20.10.0 |
| 120 | + flake8-pytest-style>=1.3.0 |
| 121 | + flake8-sphinx-links>=0.0.4 |
| 122 | + flake8-strftime>=0.1.1 |
| 123 | + flake8-typing-imports>=1.10.0 |
| 124 | + git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf |
| 125 | + git+https://github.com/domdfcoding/flake8-quotes.git |
| 126 | + git+https://github.com/domdfcoding/flake8-rst-docstrings.git |
| 127 | + git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2 |
| 128 | + pygments>=2.7.1 |
| 129 | +commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs} |
| 130 | + |
133 | 131 | [gh-actions]
|
134 | 132 | python =
|
135 | 133 | 3.6: py36, build
|
|
0 commit comments