Skip to content

Commit 517395b

Browse files
dguidoclaude
andcommitted
fix: apply ruff formatting to pre_gen_project.py
Apply ruff formatting to fix CI failure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6fa0b6a commit 517395b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hooks/pre_gen_project.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
namespace_import = "{{ cookiecutter.project_namespace_import }}"
77
if namespace_import and not re.match(NAMESPACE_REGEX, namespace_import):
88
print(f"ERROR: '{namespace_import}' is not a valid Python namespace import path!")
9-
print(f" It must follow regex '{NAMESPACE_REGEX}', i.e. 'one_two' or 'one_two.three'")
9+
print(
10+
f" It must follow regex '{NAMESPACE_REGEX}', i.e. 'one_two' or 'one_two.three'"
11+
)
1012
sys.exit(1)
1113

1214

0 commit comments

Comments
 (0)