Skip to content

Commit 8800a58

Browse files
committed
Fix license in headers
Some files had a MIT hardcoded license. Now the user selected license is used instead. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 87d64cc commit 8800a58

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

RELEASE_NOTES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919

2020
## Bug Fixes
2121

22-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
22+
### Cookiecutter
23+
24+
* Fix hardcoded MIT license headers. Now the user selected license is used instead.

cookiecutter/{{cookiecutter.github_repo_name}}/docs/mkdocstrings_autoapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# License: MIT
1+
# License: {{cookiecutter.license}}
22
# Copyright © {% now 'utc', '%Y' %} {{cookiecutter.author_name}}
33

44
"""Generate the code reference pages."""

cookiecutter/{{cookiecutter.github_repo_name}}/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# License: MIT
1+
# License: {{cookiecutter.license}}
22
# Copyright © {% now 'utc', '%Y' %} {{cookiecutter.author_name}}
33

44
"""Configuration file for nox."""

cookiecutter/{{cookiecutter.github_repo_name}}/proto/frequenz/api/{{cookiecutter.name}}/{{cookiecutter.name}}.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Copyright {% now 'utc', '%Y' %} {{cookiecutter.author_name}}
99
//
1010
// License:
11-
// MIT
11+
// {{cookiecutter.license}}
1212

1313
syntax = "proto3";
1414

cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# License: MIT
1+
# License: {{cookiecutter.license}}
22
# Copyright © {% now 'utc', '%Y' %} {{cookiecutter.author_name}}
33

44
[build-system]

cookiecutter/{{cookiecutter.github_repo_name}}/src/frequenz/{{cookiecutter.type}}/{{cookiecutter.name}}/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# License: MIT
1+
# License: {{cookiecutter.license}}
22
# Copyright © {% now 'utc', '%Y' %} {{cookiecutter.author_name}}
33

44
"""{{cookiecutter.description}}.

cookiecutter/{{cookiecutter.github_repo_name}}/tests/test_{{cookiecutter.name}}.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# License: MIT
1+
# License: {{cookiecutter.license}}
22
# Copyright © {% now 'utc', '%Y' %} {{cookiecutter.author_name}}
33

44
"""Tests for the {{cookiecutter.name}} package."""

0 commit comments

Comments
 (0)