Skip to content

Commit

Permalink
Convert to f string
Browse files Browse the repository at this point in the history
  • Loading branch information
LKajan committed Jul 5, 2024
1 parent eb41358 commit 7996012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/pre_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def check_package_name():

if not package_name.isidentifier():
print(
"ERROR: The plugin package name (%s) is not a valid Python package. "
"Please do not use a - and use _ instead" % package_name
f"ERROR: The plugin package name ({package_name}) is not a valid Python package. "
"Please do not use a - and use _ instead"
)

# Exit to cancel project
Expand Down

0 comments on commit 7996012

Please sign in to comment.