Skip to content

Commit

Permalink
remove type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Nov 10, 2024
1 parent 2c7af0c commit 545b81d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RELEASE_TYPE: patch

This patch removes some ``# type: ignore`` comments following a :pypi:`mypy` update.
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ def ip_addresses(
if v not in (None, network.version):
raise InvalidArgument(f"{v=} is incompatible with {network=}")
addr_type = IPv4Address if network.version == 4 else IPv6Address
return integers(int(network[0]), int(network[-1])).map(addr_type) # type: ignore
return integers(int(network[0]), int(network[-1])).map(addr_type)

0 comments on commit 545b81d

Please sign in to comment.