Skip to content

Commit c002172

Browse files
committed
Enable local_partial_types by default
1 parent ac6151a commit c002172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def __init__(self) -> None:
349349
self.dump_deps = False
350350
self.logical_deps = False
351351
# If True, partial types can't span a module top level and a function
352-
self.local_partial_types = False
352+
self.local_partial_types = True
353353
# Some behaviors are changed when using Bazel (https://bazel.build).
354354
self.bazel = False
355355
# If True, export inferred types for all expressions as BuildResult.types

0 commit comments

Comments
 (0)