Skip to content

Commit

Permalink
Merge pull request #166 from dmtucker/deps
Browse files Browse the repository at this point in the history
Upgrade static and publishing deps
  • Loading branch information
dmtucker committed Feb 14, 2024
2 parents a2ca9a8 + 4300a1b commit a266479
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/pytest_mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def pytest_collect_file(path, parent): # type: ignore


class MypyFile(pytest.File):

"""A File that Mypy will run on."""

@classmethod
Expand All @@ -161,7 +160,6 @@ def collect(self):


class MypyItem(pytest.Item):

"""A Mypy-related test Item."""

MARKER = "mypy"
Expand Down Expand Up @@ -194,7 +192,6 @@ def repr_failure(self, excinfo):


class MypyFileItem(MypyItem):

"""A check for Mypy errors in a File."""

def runtest(self):
Expand All @@ -221,7 +218,6 @@ def reportinfo(self):


class MypyStatusItem(MypyItem):

"""A check for a non-zero mypy exit status."""

def runtest(self):
Expand All @@ -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]]
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ 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}/*

[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
Expand Down

0 comments on commit a266479

Please sign in to comment.