You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using a configuration file loaded with [regex-lint].config in the pants.toml file, changes in the configuration file are ignored unless the .pids directory is removed before re-running the command:
$ rm -r .pids; ./pants lint '**'
Creating a new configuration file and updating the [regex-lint].config in the pants.toml file does not help either.
I expect Pants to re-load the modified configuration out of the configuration file.
Pants version
Pants 2.10, 2.11
OS
MacOS
Additional info
The text was updated successfully, but these errors were encountered:
I assume that you are using an @file option with the config? Unfortunately, that is subject to #10360. Will close as a dupe, but please reopen if that's not the case.
Note also that it should be possible to define the config directly in pants.toml (using toml syntax), rather than via an @file, although I haven't seen anyone try it.
Oh thanks @stuhood -- sorry my search for existing issues around it failed... yep, I use the @file syntax. I'll experiment on using the regex-linter in CI -- perhaps this is going to be fine given a build starts in a fresh container, so .pids won't be preserved.
Describe the bug
When running
using a configuration file loaded with
[regex-lint].config
in thepants.toml
file, changes in the configuration file are ignored unless the.pids
directory is removed before re-running the command:Creating a new configuration file and updating the
[regex-lint].config
in thepants.toml
file does not help either.I expect Pants to re-load the modified configuration out of the configuration file.
Pants version
Pants 2.10, 2.11
OS
MacOS
Additional info
The text was updated successfully, but these errors were encountered: