We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8174dfd commit b72d64bCopy full SHA for b72d64b
src/hyperframe/flags.py
@@ -22,7 +22,7 @@ class Flags(MutableSet): # type: ignore
22
Will behave like a regular set(), except that a ValueError will be thrown
23
when .add()ing unexpected flags.
24
"""
25
- def __init__(self, defined_flags: Iterable[Flag]):
+ def __init__(self, defined_flags: Iterable[Flag]) -> None:
26
self._valid_flags = set(flag.name for flag in defined_flags)
27
self._flags: Set[str] = set()
28
tox.ini
@@ -26,8 +26,8 @@ commands = pytest {posargs}
[testenv:lint]
deps =
29
- flake8>=3.9.1,<4
30
- mypy==0.812
+ flake8>=7.1.1,<8
+ mypy>=1.13.0,<2
31
commands =
32
flake8 src/ test/
33
mypy --strict src/
0 commit comments