deptry
deptry copied to clipboard
Detecting dependency for packages that export multiple modules
I am using the Python package puya
which is a custom language.
This package exports two modules. Namely: puya
which is the compiler and puyapy
which are the stubs used to define this language.
In my code, I'm only using the stubs but I'm getting a DEP001 for puyapy even though the dependency is correctly defined as puya
in my pyproject.toml
The behaviour should probably be that, if at least one module in a package is used, the package shouldn't be considered a missing dependency definition?