https://pantsbuild.org/ logo
h

hundreds-father-404

05/23/2022, 2:32 PM
PR coming soon to add
./pants --filter-target-type=python_test test ::
, i.e. you can now use
filter
from anywhere. No need to
./pants filter --target-type=python_test | xargs ./pants test
🎉 Thoughts on deprecating
filter
?
🙌 1
🎉 1
1
❤️ 2
It literally is identical to
list
now. Sole benefit is you can type
./pants filter --opt1 --opt2
rather than
./pants --filter-opt1 --filter-opt-2
, i.e. the shorthand for option names The motivation to deprecate is to have fewer goals, meaning fewer things for users to learn etc
b

bitter-ability-32190

05/23/2022, 2:40 PM
+1 on fewer goals!
❤️ 1
👍 1
Also, huzzah!!!! 🎉
h

hundreds-father-404

05/23/2022, 2:41 PM
Super easy to implement thanks to all the refactoring past two weeks 🥳
b

bitter-ability-32190

05/23/2022, 2:41 PM
You are going to have a lot of fun doing the 2.13 blog post
❤️ 1
h

hundreds-father-404

05/23/2022, 2:42 PM
hehe yes, and taking a blowtorch to https://www.pantsbuild.org/docs/goals#goal-arguments
b

bitter-ability-32190

05/23/2022, 2:42 PM
🔥
h

happy-kitchen-89482

05/23/2022, 2:47 PM
+1 to getting rid of the
filter
goal!
4