Repository navigation
Replies: 4 comments 3 replies
|
Great ideas @gwdekker! When developing |
|
About automation/an sdk, I'll give it some thought! Meanwhile, here's an approach that can be used already today: |
|
Thanks! Write a function (using poly internals) to find all components in a project that are not needed by its basesAdd an ignorelist optionin Something like this: run this through either a unit test or a pre-commit hookTo be decided. Curious what you think about this approach! |
|
Ongoing work, extending |
Uh oh!
There was an error while loading. Please reload this page.
Hey! I would like to do the following: for a certain project, I want to do a strict dependency check. What i mean by that: i want to verify that all components in the projects'
pyproject.tomlare strictly needed by the bases that are imported in that same project. As I often see that after a refactoring, certain bricks are not needed anymore but AFAIK these are not being picked up by any of thepolycommands so far.I could imagine this being already a flag on
poly check, something likepoly check --strict-components. Is that something you would consider?Second, related question: when trying to figure out how to build this myself i found
poly deps --brickwhich I could already make use of. However, to make that easy I would like to be able to do the following:Any pointers on how to achieve that?
Thanks in advance!
All reactions