Skip to content

Commit 54c36ab

Browse files
committed
fixed file licensing
1 parent 128ee84 commit 54c36ab

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

continuous_delivery_scripts/license_files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
logger = logging.getLogger(__name__)
2323

2424
FILES_TO_IGNORE = ["*.yml", "*.yaml"]
25+
ADDITIONAL_EXTENSIONS = ["python=.toml", "c=.go"]
2526

2627

2728
def add_licence_header(verbose_count: int) -> None:
@@ -73,7 +74,7 @@ def get_tool_config(template_file: Path) -> dict:
7374
"projname": configuration.get_value(ConfigurationVariable.PROJECT_NAME),
7475
"tmpl": str(template_file),
7576
"years": copyright_dates,
76-
"additional-extensions": "python=.toml c=.go",
77+
"additional-extensions": ADDITIONAL_EXTENSIONS,
7778
"exclude": FILES_TO_IGNORE,
7879
}
7980

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ pdoc3="Accepted for this project since not distributed"
3333
python-dotenv="BSD-3-Clause"
3434
twine="Apache-2.0"
3535
jellyfish="BSD-2-Clause"
36+
packaging="either Apache-2.0 or BSD-2-Clause"
3637

3738
[AutoVersionConfig]
3839
CONFIG_NAME = "DEFAULT"

0 commit comments

Comments
 (0)