We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa923a4 commit 071da14Copy full SHA for 071da14
template/src/{{ package_name }}/{% if dynamic_version %}.{% endif %}/__version__.py.jinja
@@ -6,10 +6,10 @@ import importlib.resources
6
7
8
def get_version() -> str:
9
- """Read `VERSION.txt` and return its contents.
+ """Read ``VERSION.txt`` and return its contents.
10
11
Returns:
12
- Version string.
+ The version string.
13
"""
14
return (
15
(importlib.resources.files("{{ package_name }}") / "VERSION.txt")
0 commit comments