Skip to content

Commit bff4148

Browse files
asvetlovMariatta
authored andcommitted
Relax click dependency. (#302)
1 parent 7716b38 commit bff4148

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cherry_picker/cherry_picker/cherry_picker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,11 @@ def check_repo(self):
381381
help=("Path to config file, .cherry_picker.toml "
382382
"from project root by default"),
383383
default=None)
384-
@click.argument('commit_sha1', 'The commit sha1 to be cherry-picked', nargs=1,
385-
default = "")
386-
@click.argument('branches', 'The branches to backport to', nargs=-1)
384+
@click.argument('commit_sha1', nargs=1, default="")
385+
@click.argument('branches', nargs=-1)
387386
def cherry_pick_cli(dry_run, pr_remote, abort, status, push, config_path,
388387
commit_sha1, branches):
388+
"""cherry-pick COMMIT_SHA1 into target BRANCHES."""
389389

390390
click.echo("\U0001F40D \U0001F352 \u26CF")
391391

cherry_picker/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author-email = "[email protected]"
99
maintainer = "Python Core Developers"
1010
maintainer-email = "[email protected]"
1111
home-page = "https://github.com/python/core-workflow/tree/master/cherry_picker"
12-
requires = ["click~=6.7", "gidgethub", "requests", "toml"]
12+
requires = ["click>=6.0", "gidgethub", "requests", "toml"]
1313
dev-requires = ["pytest~=3.0.7"]
1414
description-file = "readme.rst"
1515
classifiers = ["Programming Language :: Python :: 3.6", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License"]

0 commit comments

Comments
 (0)