-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
bugmypy got something wrongmypy got something wrongtopic-error-reportingHow we report errorsHow we report errors
Description
Hi there,
I wanted to know if someone already had this: I have error with no line number, so I don't really know how to debug them. For example, you can this failing pipeline which shows
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "list[object]") [assignment]
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "dict[str, object]") [assignment]
It's not "global", as before I had errors with and without line numbers
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "list[Any]") [assignment]
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "dict[Any, Any]") [assignment]
paramclasses/paramclasses.py:272: error: "type" has no attribute "__post_init__"; maybe "__init__"? [attr-defined]
paramclasses/paramclasses.py:528: error: Need type annotation for "args" (hint: "args: list[<type>] = ...") [var-annotated]
...
Thanks in advance!
Élie
Metadata
Metadata
Assignees
Labels
bugmypy got something wrongmypy got something wrongtopic-error-reportingHow we report errorsHow we report errors