Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /