Skip to content

Incorrect Path of Python Stub file for pycuvslam.so #9

@dominikandreas

Description

@dominikandreas

from .pycuvslam import *

The __init__ imports from pycuvslam.so but the stubfile is named cuvslam.pyi, therefore the linter ignores the .pyi stub. Renaming this to pycuvslam.pyi fixes this for me, allowing the python linter to infer the types correctly.

Alternatively, renaming pycuvslam.so to cuvslam.so and using from cuvslam import * in the __init__.py also works. not sure which is preferable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions