Skip to content

Commit ab3f5d5

Browse files
committed
Remove old but of code left behind.
1 parent fded5a8 commit ab3f5d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake8_github_action/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@
5050
)
5151
@click.command(context_settings={"ignore_unknown_options": True, "allow_extra_args": True, **CONTEXT_SETTINGS})
5252
@click.pass_context
53-
def main(ctx: click.Context, repo: Union[str, URL, None] = None, annotate_only: bool = False,):
53+
def main(ctx: click.Context, annotate_only: bool = False,):
5454
"""
5555
Run flake8 and add the errors as annotations on GitHub.
5656
"""
5757

5858
# this package
5959
from flake8_github_action import action
6060

61-
response, ret = action(repo, *ctx.args)
61+
response, ret = action(*ctx.args)
6262

6363
# if response.status_code == 200:
6464
# sys.exit(0)

0 commit comments

Comments
 (0)