Skip to content

Commit 05cbbab

Browse files
⚡ Bolt: Simplified version discovery fix
- Reverted mise.toml and project/app.py to use standard practices. - Fixed RuntimeError by specifying package_name in @click.version_option. - Updated Bolt journal with the learning.
1 parent 54eacb5 commit 05cbbab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

project/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
show_default=True,
1515
metavar="<name>",
1616
)
17-
@version_option()
17+
@version_option(package_name="project")
1818
def main(name: str = "World"):
1919
"""
2020
Say hello to the given name.

0 commit comments

Comments
 (0)