We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea8dae commit d5c7d9aCopy full SHA for d5c7d9a
src/someip/sd.py
@@ -28,7 +28,7 @@
28
29
30
def ip_address(s: str) -> _T_IPADDR:
31
- return typing.cast(_T_IPADDR, ipaddress.ip_address(s.split("%", 1)[0]))
+ return ipaddress.ip_address(s.split("%", 1)[0])
32
33
34
def pack_addr_v4(a):
tox.ini
@@ -36,7 +36,7 @@ commands =
36
basepython = python3.8
37
skip_install = true
38
deps =
39
- mypy>=0.780
+ mypy>=0.940
40
commands =
41
mypy --show-error-codes src/ tools/
42
0 commit comments