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

rapid-bird-79300

10/20/2022, 8:58 PM
Hey Pants Team, I'm curious if there's a way to configure linter defaults such as
SkipFlake8Field
. The current way we are doing it is just patching these in a custom plugin but I wonder if there's an easier way to do this.
b

bitter-ability-32190

10/20/2022, 9:01 PM
Can you give an example of your thoughts? I don't quite see what you're saying
h

hundreds-father-404

10/20/2022, 9:03 PM
2.14 adds `__defaults__`:
Copy code
__defaults__(all={"skip_flake8": True})
applies recursively to all BUILD files under it
1
h

happy-kitchen-89482

10/20/2022, 9:13 PM
Yeah, once you upgrade,
__defaults__
will sort this out
🙌 1
b

busy-vase-39202

10/20/2022, 9:14 PM
That's releasing approximately Monday, right?
r

rapid-bird-79300

10/20/2022, 9:16 PM
thank you that is amazing!
h

hundreds-father-404

10/20/2022, 9:27 PM
yeah I'm finishing up an rc today, and then it sounds like Stu improved one thing that we have another rc tomorrow
b

bitter-ability-32190

10/20/2022, 9:32 PM
Plus I want us to decide on the build file formatters plugin oath
b

busy-vase-39202

10/20/2022, 10:48 PM
2.14 is shaping up to be a quite nifty release. I am excited for next week!
🚀 2
@bitter-ability-32190 oath, or oauth? That one threw me.
b

bitter-ability-32190

10/20/2022, 10:50 PM
Path 🤦‍♂️
I'm bad at typing, especially on mobile. Usually pushing a wagon
🤣 1
3 Views