Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linters (e.g. Pylance, Mypy) can't inspect tasks packages #755

Open
tclose opened this issue May 30, 2024 · 0 comments
Open

Linters (e.g. Pylance, Mypy) can't inspect tasks packages #755

tclose opened this issue May 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tclose
Copy link
Contributor

tclose commented May 30, 2024

Linters aren't able to understand pkgutil "hack" to get the tasks namespace packages to sit under the main pydra package and therefore don't know where to find tasks defined in task subpackages (e.g. from pydra.tasks.ants import N4BiasFieldCorrection)

@tclose tclose added the bug Something isn't working label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants