Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
* fix/bash-history-mount: shell history in the dev container persists between sessions.
* feature/version-file: generated projects take their package version from VERSION; existing projects run `uv lock` once after updating.
* feature/plain-version: VERSION holds a plain X.Y.Z here and in generated projects, with CI adding the v for tags; existing projects remove the v from VERSION once.
* fix/empty-author: generated code passes make format-dry-run when no author is set in the Copier settings.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.0.1
2 changes: 1 addition & 1 deletion template/tests/test_main.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright (c) {{ year }} Apache-2.0 license

@file
@author {{ user_name }}
@author{% if user_name %} {{ user_name }}{% endif %}
@brief Tests for the command-line options
"""

Expand Down
2 changes: 1 addition & 1 deletion template/{{ module_slug }}/__init__.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright (c) {{ year }} Apache-2.0 license

@file
@author {{ user_name }}
@author{% if user_name %} {{ user_name }}{% endif %}
@brief{% if project_description %} {{ project_description }}{% endif %}
"""

Expand Down
2 changes: 1 addition & 1 deletion template/{{ module_slug }}/__main__.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright (c) {{ year }} Apache-2.0 license

@file
@author {{ user_name }}
@author{% if user_name %} {{ user_name }}{% endif %}
@brief Main entry point
"""

Expand Down
2 changes: 1 addition & 1 deletion template/{{ module_slug }}/main.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Copyright (c) {{ year }} Apache-2.0 license

@file
@author {{ user_name }}
@author{% if user_name %} {{ user_name }}{% endif %}
@brief Main file
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) {{ year }} Apache-2.0 license


@file
@author {{ user_name }}
@author{% if user_name %} {{ user_name }}{% endif %}
@brief FastAPI server{% if project_description %} for {{ project_description }}{% endif %}
"""

Expand Down