<#17564 New option to ignore untracked files> New ...
# github-notifications
q
#17564 New option to ignore untracked files New issue created by kaos Is your feature request related to a problem? Please describe. When running
./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