fpgmaas/deptry

Feature Request: print sample file paths containing import to each obsolete package

WTK opened this issue · 1 comments

WTK commented

Is your feature request related to a problem? Please describe.

Feature request

Describe the solution you would like

At initial stage after deptry is introduced to a project it might be hard to pinpoint exactly based on which import deptry assumes that certain library is used. Adding some flag to the CLI interface, that would print out information about 1-3 files containing import of given package would help cleaning things up. Side benefit (small) could be that finding bugs in deptry is easier as you could easily say: "ok, so package X is reported as obsolete based on import statement Y, and you can clearly see it shouldn't".

Additional context

N/A

WTK commented

Lol, it's already there in --verbose, sorry :)