Hello, I was wondering: can I use pants to detect ...
# general
r
Hello, I was wondering: can I use pants to detect unused files? I'd like to have that check to ensure all dependencies are taken into account and that I don't have dead modules still around. I was imagining something like any python_source target that isn't a dependency of a package/test goal would be reported. Is it possible and is that a good idea?
b
Try out the
peek
goal if you want structured output for dependencies. Alternatively you might consider a plugin if you want to do this more "natively"