https://pantsbuild.org/ logo
#general
Title
# general
r

rapid-bird-79300

04/12/2022, 5:30 PM
Hey Team, I think may recall a past suggestion for a feature/plugin that would prevent unwanted dependencies between targets. For example, if we have two modules
a
and
b
and want to prevent
b
from ever depending on
a
we can use a feature/plugin to do this. Does something like this already exists?
h

hundreds-father-404

04/12/2022, 5:34 PM
I think that you are referring to thishttps://github.com/pantsbuild/pants/issues/13393. There is no first class support yet, although you can use custom logic like the peak goal or dependencies goal to inspect your build graph
1
r

rapid-bird-79300

04/12/2022, 5:43 PM
nice that feature would be very helpful to have. Will look into an alternitive solution for time being
b

bitter-ability-32190

04/12/2022, 6:23 PM
Someone was working on adding a plugin for a Python tool that would do this for Python. Import-linter I think it was
h

happy-kitchen-89482

04/12/2022, 6:30 PM
We would love someone to tackle https://github.com/pantsbuild/pants/issues/13393!
💯 3
It's highly requested
2 Views