Skip to content

Commit ed35ccd

Browse files
* [email protected] * [pre-commit.ci] auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2de9932 commit ed35ccd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

django-stubs/utils/ipv6.pyi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
from typing import Any
22

3-
def clean_ipv6_address(ip_str: Any, unpack_ipv4: bool = False, error_message: str = ...) -> str: ...
3+
MAX_IPV6_ADDRESS_LENGTH: int
4+
5+
def clean_ipv6_address(
6+
ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39
7+
) -> str: ...
48
def is_valid_ipv6_address(ip_str: str) -> bool: ...

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pytest-shard==0.1.2
77
# Django deps:
88
psycopg2-binary
99
Django==4.2.16; python_version < '3.10'
10-
Django==5.1.4; python_version >= '3.10'
10+
Django==5.1.5; python_version >= '3.10'
1111
-e ./ext
1212
-e .[redis,compatible-mypy,oracle]
1313

0 commit comments

Comments
 (0)