Skip to content

Commit e06624d

Browse files
authored
Remove unused keyword argument (#484)
1 parent 8057e66 commit e06624d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pyobo/struct/struct.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,13 +757,13 @@ def write_obograph(self, path: str | Path, *, converter: Converter | None = None
757757
obograph.write_obograph(self, path, converter=converter)
758758

759759
@classmethod
760-
def cli(cls, *args, default_rewrite: bool = False) -> Any:
760+
def cli(cls, *args) -> Any:
761761
"""Run the CLI for this class."""
762-
cli = cls.get_cls_cli(default_rewrite=default_rewrite)
762+
cli = cls.get_cls_cli()
763763
return cli(*args)
764764

765765
@classmethod
766-
def get_cls_cli(cls, *, default_rewrite: bool = False) -> click.Command:
766+
def get_cls_cli(cls) -> click.Command:
767767
"""Get the CLI for this class."""
768768

769769
@click.command()

0 commit comments

Comments
 (0)