Hey guys! Is there a way to run all linters except...
# general
s
Hey guys! Is there a way to run all linters except one? Something similar to
pants lint --only
but
pants lint --except=flake8
1
w
s
I was hoping for a generic solution that would work with a custom plugin
But I guess I can add skip to my plugin
Thank you!
w
s
Yeah, but it doesn't skip lint only plugins, right?
w
I’m less certain of that, as I dont know what that’s regisred against
Can you run a messy
—only
command and ad a cli alias?
s
Not very convenient, I have a pretty heavy plugin that builds a bunch of docker images, I want other developers to be able to skip it locally. So probably implementing skip option for my plugin is the best option
w
Ahh, okay, gotcha. I know for certain that adding a skip option to the plugin is how -I- would solve that problem. But, Pants has so many options and settings, maybe we do have an “exclude” somewhere 😆
s
yeah, it's frustrating sometimes, you have an option on one level, but on another level it's missing, I wish there was an organized option tree built into pants core
w
Agreed
s