Skip to content

Commit

Permalink
Enable local_partial_types on mypy (#18370)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored Dec 30, 2024
1 parent b2b32e7 commit 485b120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mypy_self_check.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[mypy]

strict = True
local_partial_types = True
disallow_any_unimported = True
show_traceback = True
pretty = True
Expand Down
2 changes: 1 addition & 1 deletion test-data/unit/plugins/dyn_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from mypy.plugin import ClassDefContext, DynamicClassDefContext, Plugin
from mypy.types import Instance, get_proper_type

DECL_BASES = set()
DECL_BASES: set[str] = set()


class DynPlugin(Plugin):
Expand Down

0 comments on commit 485b120

Please sign in to comment.