Skip to content
Snippets Groups Projects
Verified Commit caf938db authored by Romain Deville's avatar Romain Deville
Browse files

:sparkles: Update copyright handling in plugins.py

parent 2d3d3afe
No related branches found
No related tags found
No related merge requests found
......@@ -405,6 +405,10 @@ def set_copyright(env: dict, git_repo: git.Repo) -> None:
"copyright"
] = f"Copyright © {first_year} - {curr_year} {env.variables['copyright']}"
env.variables[
"full_copyright"
] = f"Copyright © {first_year} - {curr_year} {env.variables['copyright']}"
def set_repo_name(env: dict, repo_slug: str) -> None:
"""Update content of the `repo_name` key in `env.conf`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment