mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-14 04:49:27 -05:00
more spaces
This commit is contained in:
parent
ae133312e9
commit
4f2041dfdf
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,7 @@ def create_label(repo_id, label):
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
def get_labels(owner, repo):
|
def get_labels(owner, repo):
|
||||||
"""
|
"""
|
||||||
Gets a list of labels from the supplied repo.
|
Gets a list of labels from the supplied repo.
|
||||||
|
@ -95,6 +96,7 @@ def get_labels(owner, repo):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def delete_label(label_id):
|
def delete_label(label_id):
|
||||||
"""
|
"""
|
||||||
Delete the specified label
|
Delete the specified label
|
||||||
|
@ -117,6 +119,7 @@ def delete_label(label_id):
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.option("--dry", is_flag=True)
|
@click.option("--dry", is_flag=True)
|
||||||
@click.argument("source_repo")
|
@click.argument("source_repo")
|
||||||
|
@ -185,6 +188,7 @@ def copy_labels(source_repo, target_repo, dry):
|
||||||
|
|
||||||
print("Done")
|
print("Done")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# Pylint doesn't know that @click.command takes care of injecting the
|
# Pylint doesn't know that @click.command takes care of injecting the
|
||||||
# function parameters. Disabling Pylint error.
|
# function parameters. Disabling Pylint error.
|
||||||
|
|
Loading…
Reference in a new issue