Skip to content

Commit

Permalink
enable new generics because they are based
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinIsland committed Aug 18, 2024
1 parent 13c8a77 commit 117a210
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,8 @@ def add_invertible_flag(
)

options = Options()
if not os.getenv("__MYPY_UNDER_TEST__"):
options.enable_incomplete_feature.append(mypy.options.NEW_GENERIC_SYNTAX)
strict_option_set = False

if not dummy.__dict__["special-opts:strict"]:
Expand Down

0 comments on commit 117a210

Please sign in to comment.