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
To Reproduce
Run this file to test.py:
test.py
if 'red' == 5: # <-- Mypy finds error print('equal') def foo(): if 'red' == 5: # <-- Mypy does not find error print('equal') foo()
then execute
mypy test.py --strict-equality
Expected Behavior
Mypy should find 2 errors in this file.
Actual Behavior
Mypy fails to find the error inside the function.
Your Environment
--strict-equality
mypy.ini
The text was updated successfully, but these errors were encountered:
First item of https://mypy.readthedocs.io/en/stable/common_issues.html#no-errors-reported-for-obviously-wrong-code
Sorry, something went wrong.
Ah, my apologies! Thank you for your time and thanks for the package!
No branches or pull requests
Bug Report
To Reproduce
Run this file to
test.py
:then execute
Expected Behavior
Mypy should find 2 errors in this file.
Actual Behavior
Mypy fails to find the error inside the function.
Your Environment
--strict-equality
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: