Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.1.1
-
None
Description
My LSP, pyright, cannot conclude that calls to functions like max or expressions comparing two QDate s like start < end are possible since it thinks QDate s are not comparable. Some example error messages are:
Argument of type "QDate" cannot be assigned to parameter "__arg1" of type "SupportsLessThanT@min" in function "min" Type "SupportsLessThan" cannot be assigned to type "QDate"
Operator ">" not supported for types "QDate" and "QDate"
Attachments
Issue Links
- relates to
-
PYSIDE-1955 mypy error: "QObject" has no attribute "tr"
- Closed