nipype / pydra

Pydra Dataflow Engine
https://nipype.github.io/pydra/
Other
119 stars 57 forks source link

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

Open tclose opened 1 month ago

tclose commented 1 month ago

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)