File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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:
222222
223223 # Allow flexible variable redefinition with an arbitrary type, in different
224224 # blocks and and at different nesting levels
225- self .allow_redefinition_new = False
225+ self .allow_redefinition_new = True
226226
227227 # Prohibit equality, identity, and container checks for non-overlapping types.
228228 # This makes 1 == '1', 1 in ['1'], and 1 is '1' errors.
@@ -361,7 +361,7 @@ def __init__(self) -> None:
361361 self .dump_deps = False
362362 self .logical_deps = False
363363 # 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
365365 # Some behaviors are changed when using Bazel (https://bazel.build).
366366 self .bazel = False
367367 # If True, export inferred types for all expressions as BuildResult.types
You can’t perform that action at this time.
0 commit comments