Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed Jul 13, 2023
1 parent 18f4c20 commit a9c2a39
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions rembg/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ def main() -> None:
from . import _version
from .commands import command_functions

@click.group() # type: ignore
@click.group() # type: ignore
@click.version_option(version=_version.get_versions()["version"])
def _main() -> None:
pass

for command in command_functions:
_main.add_command(command) # type: ignore
_main.add_command(command) # type: ignore

_main() # type: ignore
_main() # type: ignore
2 changes: 1 addition & 1 deletion rembg/commands/b_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ..sessions import sessions_names


@click.command( # type: ignore
@click.command( # type: ignore
name="b",
help="for a byte stream as input",
)
Expand Down
2 changes: 1 addition & 1 deletion rembg/commands/i_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ..sessions import sessions_names


@click.command( # type: ignore
@click.command( # type: ignore
name="i",
help="for a file as input",
)
Expand Down
2 changes: 1 addition & 1 deletion rembg/commands/p_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from ..sessions import sessions_names


@click.command( # type: ignore
@click.command( # type: ignore
name="p",
help="for a folder as input",
)
Expand Down
2 changes: 1 addition & 1 deletion rembg/commands/s_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from ..sessions.base import BaseSession


@click.command( # type: ignore
@click.command( # type: ignore
name="s",
help="for a http server",
)
Expand Down

0 comments on commit a9c2a39

Please sign in to comment.