We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report
Same command gives different results depending on the cache.
To Reproduce
class Super: def draw(self): ... class Class(Super): ... Class().draw()
(Code is from #16651)
Expected Behavior
Same behavior of mypy --disallow-untyped-calls --untyped-calls-exclude=bug.Super bug.py regardless of the cache.
mypy --disallow-untyped-calls --untyped-calls-exclude=bug.Super bug.py
Actual Behavior
(.venv) C:\Build>rmdir .mypy_cache /s /q (.venv) C:\Build>mypy --disallow-untyped-calls --untyped-calls-exclude=bug.Super bug.py bug.py:8: error: Call to untyped function "draw" in typed context [no-untyped-call] Found 1 error in 1 file (checked 1 source file) (.venv) C:\Build>mypy --disallow-untyped-calls --untyped-calls-exclude=bug bug.py Success: no issues found in 1 source file (.venv) C:\Build>mypy --disallow-untyped-calls --untyped-calls-exclude=bug.Super bug.py Success: no issues found in 1 source file (.venv) C:\Build>rmdir .mypy_cache /s /q (.venv) C:\Build>mypy --disallow-untyped-calls --untyped-calls-exclude=bug.Super bug.py bug.py:8: error: Call to untyped function "draw" in typed context [no-untyped-call] Found 1 error in 1 file (checked 1 source file)
Your Environment
mypy.ini
The text was updated successfully, but these errors were encountered:
--untyped-calls-exclude
No branches or pull requests
Bug Report
Same command gives different results depending on the cache.
To Reproduce
(Code is from #16651)
Expected Behavior
Same behavior of
mypy --disallow-untyped-calls --untyped-calls-exclude=bug.Super bug.py
regardless of the cache.Actual Behavior
Your Environment
mypy.ini
(and other config files): noneThe text was updated successfully, but these errors were encountered: