Open
Description
Bug Report
Mypy ignores no_type_check, specifically for nested function redefinitions.
To Reproduce
- Create a nested function.
- Create another nested function in the same name right after it.
- Attempt to suppress it with
@typing.no_type_check
.
I've tried to deal with it in many ways, including opening a different bug, to no avail.
Your Environment
- Mypy version used: 0.800
- Mypy command-line flags: --disallow-untyped-defs, --show-column-numbers, --follow-imports=silent, --ignore-missing-imports, --check-untyped-defs
- Mypy configuration options from
mypy.ini
(and other config files): Nope - Python version used: 3.9.0
- Operating system and version: Windows 10