From 3814c1249728a3e4366ede03160f93b5540a5483 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sun, 4 Feb 2024 11:09:58 -0800 Subject: [PATCH 1/2] Upgrade static deps --- src/pytest_mypy.py | 5 ----- tox.ini | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pytest_mypy.py b/src/pytest_mypy.py index 82dbd2b..7d8e1cb 100644 --- a/src/pytest_mypy.py +++ b/src/pytest_mypy.py @@ -138,7 +138,6 @@ def pytest_collect_file(path, parent): # type: ignore class MypyFile(pytest.File): - """A File that Mypy will run on.""" @classmethod @@ -161,7 +160,6 @@ def collect(self): class MypyItem(pytest.Item): - """A Mypy-related test Item.""" MARKER = "mypy" @@ -194,7 +192,6 @@ def repr_failure(self, excinfo): class MypyFileItem(MypyItem): - """A check for Mypy errors in a File.""" def runtest(self): @@ -221,7 +218,6 @@ def reportinfo(self): class MypyStatusItem(MypyItem): - """A check for a non-zero mypy exit status.""" def runtest(self): @@ -233,7 +229,6 @@ def runtest(self): @attr.s(frozen=True, kw_only=True) class MypyResults: - """Parsed results from Mypy.""" _abspath_errors_type = Dict[str, List[str]] diff --git a/tox.ini b/tox.ini index 2d59c92..de84457 100644 --- a/tox.ini +++ b/tox.ini @@ -66,9 +66,9 @@ commands = [testenv:static] deps = bandit ~= 1.7.0 - black ~= 22.3.0 - flake8 ~= 4.0.0 - mypy >= 0.900, < 0.910 + black ~= 24.2.0 + flake8 ~= 7.0.0 + mypy ~= 1.8.0 commands = black --check src tests flake8 src tests From 4300a1b066d37ceef0b245e65f999d5f718e4512 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sun, 4 Feb 2024 11:21:59 -0800 Subject: [PATCH 2/2] Upgrade publish deps --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index de84457..ae6f422 100644 --- a/tox.ini +++ b/tox.ini @@ -57,8 +57,8 @@ testpaths = tests passenv = TWINE_* constrain_package_deps = false deps = - build[virtualenv] ~= 0.9.0 - twine ~= 4.0.0 + build[virtualenv] ~= 1.0.0 + twine ~= 5.0.0 commands = {envpython} -m build --outdir {envtmpdir} . twine {posargs:check} {envtmpdir}/*