Skip to content

Pyright showing errors #611

@acampove

Description

@acampove

Vector Version

1.6.2

Python Version

3.12

OS / Environment

Alma9

Describe the bug

When using MomentumObject4D I see:

Image

These messages seem to be coming from pyright. My guess is that there is something deep in this vector class that is using (or not using) the wrong typehinting. I am also not sure where __new__ is coming from, we never call __new__ to intialize classes, we call __init__.

This is not breaking the code AFAIK. But we should not have errors like this all over the place.

Any additional but relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug (unverified)The problem described would be a bug, but needs to be triagedwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions