Update update_file_headers.py (#446)

Signed-off-by: Glenn Jocher <[email protected]>
Co-authored-by: UltralyticsAssistant <[email protected]>
This commit is contained in:
Glenn Jocher
2025-05-11 01:07:18 +02:00
committed by GitHub
co-authored by UltralyticsAssistant
parent 2b986fe1b8
commit 96037a500f
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -22,4 +22,4 @@
# ├── test_summarize_pr.py
# └── ...
__version__ = "0.0.75"
__version__ = "0.0.76"
+8 -8
View File
@@ -39,28 +39,28 @@ COMMENT_MAP = {
}
# Ignore these Paths (do not update their headers)
IGNORE_PATHS = [
IGNORE_PATHS = {
".idea",
".venv",
"env",
"env/",
"node_modules",
".git",
"__pycache__",
"mkdocs_github_authors.yaml",
# Build and distribution directories
"dist",
"build",
"dist/",
"build/",
".eggs",
"site", # mkdocs build directory
"site/", # mkdocs build directory
# Generated code
"generated",
"auto_gen",
"generated/",
"auto_gen/",
# Lock files
"lock",
# Minified files
".min.js",
".min.css",
]
}
def update_file(file_path, prefix, block_start, block_end, base_header):
-1
View File
@@ -1,6 +1,5 @@
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
# Import CLI command modules
from actions import (
first_interaction,