File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ def __init__(self) -> None:
222
222
223
223
# Allow flexible variable redefinition with an arbitrary type, in different
224
224
# blocks and and at different nesting levels
225
- self .allow_redefinition_new = False
225
+ self .allow_redefinition_new = True
226
226
227
227
# Prohibit equality, identity, and container checks for non-overlapping types.
228
228
# This makes 1 == '1', 1 in ['1'], and 1 is '1' errors.
@@ -361,7 +361,7 @@ def __init__(self) -> None:
361
361
self .dump_deps = False
362
362
self .logical_deps = False
363
363
# If True, partial types can't span a module top level and a function
364
- self .local_partial_types = False
364
+ self .local_partial_types = True
365
365
# Some behaviors are changed when using Bazel (https://bazel.build).
366
366
self .bazel = False
367
367
# If True, export inferred types for all expressions as BuildResult.types
You can’t perform that action at this time.
0 commit comments