Skip to content

Commit

Permalink
refactor(commands/commit): use isort
Browse files Browse the repository at this point in the history
  • Loading branch information
saygox committed Nov 10, 2021
1 parent 94a3510 commit 04b860d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions commitizen/commands/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import selectors
import sys
import tempfile

from asyncio import set_event_loop_policy, get_event_loop_policy, DefaultEventLoopPolicy
from asyncio import DefaultEventLoopPolicy, get_event_loop_policy, set_event_loop_policy
from io import IOBase

import questionary
Expand Down Expand Up @@ -136,7 +135,7 @@ def __call__(self):
raise DryRunExit()

if commit_msg_file:
default_mesaage = ""
default_message = ""
with open(commit_msg_file) as f:
default_message = f.read()
with open(commit_msg_file, "w") as f:
Expand Down

0 comments on commit 04b860d

Please sign in to comment.