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
What is the actual behavior/output?
The output is the following, where the first line is a missing stub for operator, and the second is the error in this report:
<string>:26: warning: Returning Any from function declared to return "Callable[[object, object], bool]"
<string>:26: error: Value of type "Comparator" is not indexable
What is the behavior/output you expect? <string>:26: error: Value of type "Comparator" is not indexable should not appear.
What are the versions of mypy and Python you are using?
mypy: 0.610
python: 3.6.5
Could not run mypy from master
What are the mypy flags you are using? (For example --strict-optional) --strict
The text was updated successfully, but these errors were encountered:
Probably what's happening here is that mypy doesn't implement the enum feature where names surrounded by underscores don't turn into enum members. This should be relatively easy to fix.
Hi,
Reporting a minor bug in
--strict
mode when adding private property to Enum subclass.The output is the following, where the first line is a missing stub for
operator
, and the second is the error in this report:What is the behavior/output you expect?
<string>:26: error: Value of type "Comparator" is not indexable
should not appear.What are the versions of mypy and Python you are using?
mypy: 0.610
python: 3.6.5
Could not run mypy from master
What are the mypy flags you are using? (For example --strict-optional)
--strict
The text was updated successfully, but these errors were encountered: