Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
sobolevn and pre-commit-ci[bot] authored Jan 15, 2025
1 parent 2de9932 commit ed35ccd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion django-stubs/utils/ipv6.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from typing import Any

def clean_ipv6_address(ip_str: Any, unpack_ipv4: bool = False, error_message: str = ...) -> str: ...
MAX_IPV6_ADDRESS_LENGTH: int

def clean_ipv6_address(
ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39
) -> str: ...
def is_valid_ipv6_address(ip_str: str) -> bool: ...
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pytest-shard==0.1.2
# Django deps:
psycopg2-binary
Django==4.2.16; python_version < '3.10'
Django==5.1.4; python_version >= '3.10'
Django==5.1.5; python_version >= '3.10'
-e ./ext
-e .[redis,compatible-mypy,oracle]

Expand Down

0 comments on commit ed35ccd

Please sign in to comment.