how would I tell regex-lint (<https://www.pantsbui...
# general
p
how would I tell regex-lint (https://www.pantsbuild.org/v2.15/docs/reference-regex-lint) to skip a particular file or directory ? I don't see anything in the docs... We are using it targetless, do I need to add a BUILD file w/ a target and set the skip flag there somehow ?
e
You could probably just pants ignore the file. I forget that global option...
[GLOBAL] pants_ignore = ["...path glob...", ...]
I think you want all Pants operations to skip it IIUC
Ah, I missed context. I happen to know from other channels Asher is talking about a checked-in pantsup.sh script... I think anyhow.
p
yup.
I can do that for now... but ideally, I want to tell a specific tool (regex-lint) to skip files.
e
I think for that your guess was about right.
Ah, no. That's not it.
h
Why is it checked in?
e
You need to edit that config file.
@happy-kitchen-89482 @polite-garden-50641 already started a thread about security concerns curling a script in CI and in general and he prefers checking it in.
p
ahh.. regex. not ideal but doeable. thanks! it didn't occur to me do do that when I looked at the config file.