Hey Team, I think may recall a past suggestion for...
# general
r
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
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
nice that feature would be very helpful to have. Will look into an alternitive solution for time being
b
Someone was working on adding a plugin for a Python tool that would do this for Python. Import-linter I think it was
h
We would love someone to tackle https://github.com/pantsbuild/pants/issues/13393!
💯 3
It's highly requested