File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,6 @@ def pytest_collect_file(path, parent): # type: ignore
138
138
139
139
140
140
class MypyFile (pytest .File ):
141
-
142
141
"""A File that Mypy will run on."""
143
142
144
143
@classmethod
@@ -161,7 +160,6 @@ def collect(self):
161
160
162
161
163
162
class MypyItem (pytest .Item ):
164
-
165
163
"""A Mypy-related test Item."""
166
164
167
165
MARKER = "mypy"
@@ -194,7 +192,6 @@ def repr_failure(self, excinfo):
194
192
195
193
196
194
class MypyFileItem (MypyItem ):
197
-
198
195
"""A check for Mypy errors in a File."""
199
196
200
197
def runtest (self ):
@@ -221,7 +218,6 @@ def reportinfo(self):
221
218
222
219
223
220
class MypyStatusItem (MypyItem ):
224
-
225
221
"""A check for a non-zero mypy exit status."""
226
222
227
223
def runtest (self ):
@@ -233,7 +229,6 @@ def runtest(self):
233
229
234
230
@attr .s (frozen = True , kw_only = True )
235
231
class MypyResults :
236
-
237
232
"""Parsed results from Mypy."""
238
233
239
234
_abspath_errors_type = Dict [str , List [str ]]
Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ testpaths = tests
57
57
passenv = TWINE_*
58
58
constrain_package_deps = false
59
59
deps =
60
- build[virtualenv] ~= 0.9 .0
61
- twine ~= 4 .0.0
60
+ build[virtualenv] ~= 1.0 .0
61
+ twine ~= 5 .0.0
62
62
commands =
63
63
{envpython} -m build --outdir {envtmpdir} .
64
64
twine {posargs:check} {envtmpdir}/*
65
65
66
66
[testenv:static]
67
67
deps =
68
68
bandit ~= 1.7.0
69
- black ~= 22.3 .0
70
- flake8 ~= 4 .0.0
71
- mypy >= 0.900, < 0.910
69
+ black ~= 24.2 .0
70
+ flake8 ~= 7 .0.0
71
+ mypy ~= 1.8.0
72
72
commands =
73
73
black --check src tests
74
74
flake8 src tests
You can’t perform that action at this time.
0 commit comments