Skip to content

Commit 3814c12

Browse files
committed
Upgrade static deps
1 parent a2ca9a8 commit 3814c12

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/pytest_mypy.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def pytest_collect_file(path, parent): # type: ignore
138138

139139

140140
class MypyFile(pytest.File):
141-
142141
"""A File that Mypy will run on."""
143142

144143
@classmethod
@@ -161,7 +160,6 @@ def collect(self):
161160

162161

163162
class 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

196194
class 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

223220
class 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)
235231
class MypyResults:
236-
237232
"""Parsed results from Mypy."""
238233

239234
_abspath_errors_type = Dict[str, List[str]]

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ commands =
6666
[testenv:static]
6767
deps =
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
7272
commands =
7373
black --check src tests
7474
flake8 src tests

0 commit comments

Comments
 (0)