You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it happens, this is no longer the behaviour on master.
This is a side effect of #9742 making mypy dir/ behave more like mypy file.py. mypy already allowed mypy a.b.py, so it works with the recursive invocation now.
Note that all versions associate the file with the incorrect module name "a.b". I tried to improve this, but it caused a couple issues and I backtracked to keep the PR surface smaller. See point 2 of #9742 (comment)
Bug Report
Files with names of the form
x.y.py
don't get checked by mypy.To Reproduce
Expected Behavior
You'd expect mypy to check two source files with the message
Success: no issues found in 2 source files
Actual Behavior
Mypy only checks one source file:
Success: no issues found in 1 source file
Your Environment
mypy.ini
(and other config files): N/AThe text was updated successfully, but these errors were encountered: