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

bitter-ability-32190

07/27/2022, 4:18 PM
Sometimes I imagine a feature that I could enable which would have Pants warn/error on manually-specified dependencies which it also inferred (which as pants gets smarter, so does inference). This helps ensure we don't refactor our code and leave a stale dependency. Thoughts?
d

dry-analyst-73584

07/27/2022, 5:20 PM
The custom build gen that we have at foursquare does this. It's excellent though we do end up with loads of "buildgen would have added <target> but target was already forced" warnings that no one ever cleans up.
b

bitter-ability-32190

07/27/2022, 5:28 PM
Yeah warnings are useless imo. Error or bust... Or actually error IS bust 😅
d

dry-analyst-73584

07/27/2022, 5:28 PM
😄