Skip to content

Commit 545b81d

Browse files
committed
remove type ignore
1 parent 2c7af0c commit 545b81d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

hypothesis-python/RELEASE.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RELEASE_TYPE: patch
2+
3+
This patch removes some ``# type: ignore`` comments following a :pypi:`mypy` update.

hypothesis-python/src/hypothesis/strategies/_internal/ipaddress.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ def ip_addresses(
115115
if v not in (None, network.version):
116116
raise InvalidArgument(f"{v=} is incompatible with {network=}")
117117
addr_type = IPv4Address if network.version == 4 else IPv6Address
118-
return integers(int(network[0]), int(network[-1])).map(addr_type) # type: ignore
118+
return integers(int(network[0]), int(network[-1])).map(addr_type)

0 commit comments

Comments
 (0)