Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Speed is impressive. Accuracy could use some work. Input for authors:

1. DEP003 'click' imported but it is a transitive dependency (In my code base click is used @click - which it doesn't look like it sees)

2. DEP003 'numcodecs' imported but it is a transitive dependency Usage was open(...,compressor=numcodecs.xxx,...)

Perhaps these warnings/errors should be removed?



On the contrary, it does see those imports, and indicates that those dependencies are used, but are not direct dependencies in your dependency tree, and instead installed because other dependencies rely on them: https://fpgmaas.github.io/deptry/rules-violations/#transitiv...


That's really useful. I find it really common for people to import transitive dependencies in python. A common one is putting something like matplotlib in deps then directly importing numpy. Seems to happen all the time.


Thank you for catching this! Indeed its not a bug.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: