quaint-telephone-89068
11/17/2022, 6:04 PM./pants lint etc it some times fails due to bad files in the source tree but that is not part of the checked out git work tree.
This may be files that are wip, temporary labs etc (the tree is dirty in other words), but for various reasons would prefer not to have to remove them for the purpose of running lint etc on my tracked sources.
Describe the solution you'd like
An option to automatically add to the list of ignores any files not currently tracked by git.
Describe alternatives you've considered
Cleaning out the source tree before running lint, or carefully providing specs that avoids them.
Additional context
Frequent enough issue to be a bother worth fixing, imho. Particularly difficult to work around while still preserving the files when hit by a pre-commit git hook.
pantsbuild/pants