[SOLVED] Can I disable `pants check` for certain r...
# general
m
[SOLVED] Can I disable
pants check
for certain resolves? I would very much prevent a 5 Gb download of torch GPU during
mypy
check as checking the resolve containing the CPU variant should be sufficient.
I solved this using the address filter:
pants check --filter-address-regex='^((?!resolve=some-resolve).)*$' ::
g
Thanks for posting your solution! Just had a similar issue and this regex helped me solve it =)
👍 1