Skip to content

Commit

Permalink
options: do not ignore .github directory with pants_ignore (pantsbuil…
Browse files Browse the repository at this point in the history
…d#20471)

Using `.github` directory is very common with YAML files (and other
resources) to be linted or included as part of a Pants build in a more
general sense.
  • Loading branch information
AlexTereshenkov authored Jan 31, 2024
1 parent ee2128b commit 37854cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/option/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ class BootstrapOptions:
)
pants_ignore = StrListOption(
advanced=True,
default=[".*/", _default_rel_distdir, "__pycache__", "!.semgrep/"],
default=[".*/", _default_rel_distdir, "__pycache__", "!.semgrep/", "!.github/"],
help=softwrap(
"""
Paths to ignore for all filesystem operations performed by pants
Expand Down

0 comments on commit 37854cf

Please sign in to comment.