Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriechi committed Nov 16, 2024
1 parent 8174dfd commit b72d64b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hyperframe/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Flags(MutableSet): # type: ignore
Will behave like a regular set(), except that a ValueError will be thrown
when .add()ing unexpected flags.
"""
def __init__(self, defined_flags: Iterable[Flag]):
def __init__(self, defined_flags: Iterable[Flag]) -> None:
self._valid_flags = set(flag.name for flag in defined_flags)
self._flags: Set[str] = set()

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ commands = pytest {posargs}

[testenv:lint]
deps =
flake8>=3.9.1,<4
mypy==0.812
flake8>=7.1.1,<8
mypy>=1.13.0,<2
commands =
flake8 src/ test/
mypy --strict src/
Expand Down

0 comments on commit b72d64b

Please sign in to comment.