5
5
# * testenv
6
6
# * testenv:docs
7
7
# * testenv:build
8
- # * testenv:lint
9
8
# * testenv:mypy
10
9
# * testenv:pyup
11
10
# * testenv:coverage
@@ -56,30 +55,6 @@ commands =
56
55
twine check dist/*.tar.gz dist/*.whl
57
56
check-wheel-contents dist/
58
57
59
- [testenv:lint]
60
- basepython = python3.6
61
- changedir = {toxinidir}
62
- ignore_errors = True
63
- skip_install = True
64
- deps =
65
- flake8 >=3.8.2
66
- flake8-2020 >= 1.6.0
67
- flake8-builtins>=1.5.3
68
- flake8-docstrings>=1.5.0
69
- flake8-dunder-all>=0.1.1
70
- flake8-github-actions>=0.1.0
71
- flake8-pyi>=20.10.0
72
- flake8-pytest-style>=1.3.0
73
- flake8-sphinx-links>=0.0.4
74
- flake8-strftime>=0.1.1
75
- flake8-typing-imports>=1.10.0
76
- git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
77
- git+https://github.com/domdfcoding/flake8-quotes.git
78
- git+https://github.com/domdfcoding/flake8-rst-docstrings.git
79
- git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
80
- pygments>=2.7.1
81
- commands = python3 -m flake8_rst_docstrings_sphinx flake8_strftime tests --allow-toolbox {posargs}
82
-
83
58
[testenv:mypy]
84
59
basepython = python3.6
85
60
ignore_errors = True
@@ -132,7 +107,7 @@ count = True
132
107
plugins = coverage_pyver_pragma
133
108
134
109
[coverage:report]
135
- fail_under = 90
110
+ fail_under = 100
136
111
exclude_lines =
137
112
raise AssertionError
138
113
raise NotImplementedError
@@ -151,6 +126,29 @@ package = flake8_strftime
151
126
addopts = --color yes --durations 25
152
127
timeout = 300
153
128
129
+ [testenv:lint]
130
+ basepython = python3.6
131
+ changedir = {toxinidir}
132
+ ignore_errors = True
133
+ deps =
134
+ flake8 >=3.8.2
135
+ flake8-2020 >= 1.6.0
136
+ flake8-builtins>=1.5.3
137
+ flake8-docstrings>=1.5.0
138
+ flake8-dunder-all>=0.1.1
139
+ flake8-github-actions>=0.1.0
140
+ flake8-pyi>=20.10.0
141
+ flake8-pytest-style>=1.3.0
142
+ flake8-sphinx-links>=0.0.4
143
+ flake8-strftime>=0.1.1
144
+ flake8-typing-imports>=1.10.0
145
+ git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
146
+ git+https://github.com/domdfcoding/flake8-quotes.git
147
+ git+https://github.com/domdfcoding/flake8-rst-docstrings.git
148
+ git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
149
+ pygments>=2.7.1
150
+ commands = python3 -m flake8_rst_docstrings_sphinx flake8_strftime tests --allow-toolbox {posargs}
151
+
154
152
[gh-actions]
155
153
python =
156
154
3.6: py36, build, mypy
0 commit comments