diff --git a/actions/__init__.py b/actions/__init__.py index 32140b0..0eb6a50 100644 --- a/actions/__init__.py +++ b/actions/__init__.py @@ -22,4 +22,4 @@ # ├── test_summarize_pr.py # └── ... -__version__ = "0.0.75" +__version__ = "0.0.76" diff --git a/actions/update_file_headers.py b/actions/update_file_headers.py index 65ae912..421fab3 100644 --- a/actions/update_file_headers.py +++ b/actions/update_file_headers.py @@ -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): diff --git a/tests/test_cli_commands.py b/tests/test_cli_commands.py index d40827b..b32ce3d 100644 --- a/tests/test_cli_commands.py +++ b/tests/test_cli_commands.py @@ -1,6 +1,5 @@ # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license - # Import CLI command modules from actions import ( first_interaction,