Skip to content

Commit

Permalink
Make linter hppy
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Aug 2, 2023
1 parent 4dde3b8 commit 3063689
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cherry_picker/cherry_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def __init__(
chosen_config_path=None,
auto_pr=True,
):

self.chosen_config_path = chosen_config_path
"""The config reference used in the current runtime.
Expand Down Expand Up @@ -239,15 +238,12 @@ def checkout_branch(self, branch_name, *, create_branch=False):
try:
self.run_cmd(cmd)
except subprocess.CalledProcessError as err:
click.echo(
f"Error checking out the branch {checked_out_branch!r}."
)
click.echo(f"Error checking out the branch {checked_out_branch!r}.")
click.echo(err.output)
raise BranchCheckoutException(checked_out_branch)
if create_branch:
self.unset_upstream(checked_out_branch)


def get_commit_message(self, commit_sha):
"""
Return the commit message for the current commit hash,
Expand Down

0 comments on commit 3063689

Please sign in to comment.