no-redef
issued with package import but not with local import
#15170
Labels
bug
mypy got something wrong
Bug Report
I can type-annotate untyped imports from a local file, but not from a package (in which case I get a
no-redef
error).To Reproduce
my_local.py
bug.py
Expected Behavior
Same behavior (no error) in both cases.
Actual Behavior
Your Environment
mypy.ini
(and other config files): noneSomewhat related: #13914
The text was updated successfully, but these errors were encountered: