Skip to content

Commit e039f16

Browse files
committed
style: fix code style through black
1 parent 9c20484 commit e039f16

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commitizen/commands/init.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ def _install_pre_commit_hook(self, hook_types: Optional[List[str]] = None):
181181
yaml.safe_dump(config_data, stream=config_file)
182182

183183
if not self._search_pre_commit():
184-
raise InitFailedError(
185-
"pre-commit is not installed in current environment."
186-
)
184+
raise InitFailedError("pre-commit is not installed in current environment.")
187185
if hook_types is None:
188186
hook_types = ["commit-msg", "pre-push"]
189187
self._exec_install_pre_commit_hook(hook_types)

0 commit comments

Comments
 (0)