Skip to content

Commit ef25b01

Browse files
committed
Fix MYPY constant
1 parent f28c506 commit ef25b01

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/django_stubs_ext/compat.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
from typing import Literal
2-
31
# Magic constant that mypy overrides to True during type checking
4-
MYPY: Literal[False]
2+
MYPY: bool = False

0 commit comments

Comments
 (0)