File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 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
138138
139139
140140class MypyFile (pytest .File ):
141-
142141 """A File that Mypy will run on."""
143142
144143 @classmethod
@@ -161,7 +160,6 @@ def collect(self):
161160
162161
163162class MypyItem (pytest .Item ):
164-
165163 """A Mypy-related test Item."""
166164
167165 MARKER = "mypy"
@@ -194,7 +192,6 @@ def repr_failure(self, excinfo):
194192
195193
196194class MypyFileItem (MypyItem ):
197-
198195 """A check for Mypy errors in a File."""
199196
200197 def runtest (self ):
@@ -221,7 +218,6 @@ def reportinfo(self):
221218
222219
223220class MypyStatusItem (MypyItem ):
224-
225221 """A check for a non-zero mypy exit status."""
226222
227223 def runtest (self ):
@@ -233,7 +229,6 @@ def runtest(self):
233229
234230@attr .s (frozen = True , kw_only = True )
235231class MypyResults :
236-
237232 """Parsed results from Mypy."""
238233
239234 _abspath_errors_type = Dict [str , List [str ]]
Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ testpaths = tests
5757passenv = TWINE_*
5858constrain_package_deps = false
5959deps =
60- build[virtualenv] ~= 0.9 .0
61- twine ~= 4 .0.0
60+ build[virtualenv] ~= 1.0 .0
61+ twine ~= 5 .0.0
6262commands =
6363 {envpython} -m build --outdir {envtmpdir} .
6464 twine {posargs:check} {envtmpdir}/*
6565
6666[testenv:static]
6767deps =
6868 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
7272commands =
7373 black --check src tests
7474 flake8 src tests
You can’t perform that action at this time.
0 commit comments