Docs: add some code-comments regarding the default exclusions

This commit is contained in:
Campbell Barton
2025-07-17 13:10:04 +10:00
parent 169dbdd60f
commit 989af38c93

View File

@@ -4652,6 +4652,17 @@ class subcmd_author:
# Make default build options if none are provided.
manifest_build = PkgManifest_Build(
paths=None,
# Limit exclusions to:
# - Python cache since extensions are written in Python.
# - Dot-files since this is standard *enough*.
# - ZIP archives to exclude packages that have been build.
# - BLEND file backups since this is for Blender extensions,
# it makes sense to skip them.
#
# Further, it's not the purpose of this exclusion list to support all known file-system lint,
# as it changes over time and *could* result in false positives.
#
# Extension authors are expected to declare exclude patterns based on their development environment.
paths_exclude_pattern=[
"__pycache__/",
# Hidden dot-files.