Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

fix lint

Daniel Gatisa9c2a3921312
diff --git a/rembg/cli.py b/rembg/cli.py
index 4d05aa3..6935dc9 100644
--- a/rembg/cli.py
+++ b/rembg/cli.py
@@ -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
diff --git a/rembg/commands/b_command.py b/rembg/commands/b_command.py
index 250ff8b..69d2a62 100644
--- a/rembg/commands/b_command.py
+++ b/rembg/commands/b_command.py
@@ -13,7 +13,7 @@ from ..session_factory import new_session
from ..sessions import sessions_names
[email protected]( # type: ignore
[email protected]( # type: ignore
name="b",
help="for a byte stream as input",
)
diff --git a/rembg/commands/i_command.py b/rembg/commands/i_command.py
index e0d65f4..e96427f 100644
--- a/rembg/commands/i_command.py
+++ b/rembg/commands/i_command.py
@@ -9,7 +9,7 @@ from ..session_factory import new_session
from ..sessions import sessions_names
[email protected]( # type: ignore
[email protected]( # type: ignore
name="i",
help="for a file as input",
)
diff --git a/rembg/commands/p_command.py b/rembg/commands/p_command.py
index aa9ae36..1e29998 100644
--- a/rembg/commands/p_command.py
+++ b/rembg/commands/p_command.py
@@ -14,7 +14,7 @@ from ..session_factory import new_session
from ..sessions import sessions_names
[email protected]( # type: ignore
[email protected]( # type: ignore
name="p",
help="for a folder as input",
)
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py
index 3edf742..b5147ec 100644
--- a/rembg/commands/s_command.py
+++ b/rembg/commands/s_command.py
@@ -19,7 +19,7 @@ from ..sessions import sessions_names
from ..sessions.base import BaseSession
[email protected]( # type: ignore
[email protected]( # type: ignore
name="s",
help="for a http server",
)