Skip to content

Missing line number error report #19257

Closed
@eliegoudout

Description

@eliegoudout

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions