cli: Disable pre-commit hooks for cli commands

This commit is contained in:
Johannes Kirschbauer
2024-07-23 13:54:38 +02:00
parent 679fd914e0
commit 580cc12671

View File

@@ -93,6 +93,7 @@ def _commit_file_to_git(
"commit",
"-m",
commit_message,
"--no-verify", # dont run pre-commit hooks
]
+ [str(file_path) for file_path in file_paths],
)