Reporting unused third-party dependencies #416
-
|
Hi, First, thanks for the work on this tool ! I’ve been using the polylith architecture for a while and only recently started integrating your polylith python tool. I’d like to check automatically that dependencies declared in the projects |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @guillaumecherel, good to hear that you use the polylith architecture! The If there isn't any lock file, then the tooling will try its best by inspecting the current virtual environment and might miss out on a missing dependency if it is registered in an other project also. But in general, it should find out the missing bricks and third-party libraries. How does your setup look like? (uv, poetry ... lock-files etc.) |
Beta Was this translation helpful? Give feedback.
Aha, sorry I misunderstood you. Currently, the
poly checkcommand will report on unused bricks but doesn't report on unused third-party dependencies. I had a quick look ifuvsupport this, but they seem to refer to other tools like fawltydeps and such.To get a visual overview over what's being used you could run
poly libsto see the usage of third-party libs, but it won't alert on any unused libraries.The unused bricks feature is relatively new and described here: #361