Skip to content

Commit a6c906c

Browse files
Add type of django.VERSION (#1916)
* Add type of `django.VERSION` * [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 d9aade1 commit a6c906c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django-stubs/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from typing import Any
1+
from typing import Literal
22

33
from .utils.version import get_version as get_version
44

5-
VERSION: Any
5+
VERSION: tuple[int, int, int, Literal["alpha", "beta", "rc", "final"], int]
66
__version__: str
77

88
def setup(set_prefix: bool = ...) -> None: ...

0 commit comments

Comments
 (0)