[BUG]: CLI help has the wrong format #130
2 changed files with 6 additions and 5 deletions
|
|
@ -84,7 +84,7 @@ def cli() -> None: # pragma: no cover
|
||||||
)
|
)
|
||||||
def run(filepath: click.Path, element: str, verbose: click.Choice) -> None:
|
def run(filepath: click.Path, element: str, verbose: click.Choice) -> None:
|
||||||
"""Run command for CLI.
|
"""Run command for CLI.
|
||||||
|
\f
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
filepath : click.Path
|
filepath : click.Path
|
||||||
|
|
@ -128,7 +128,7 @@ def run(filepath: click.Path, element: str, verbose: click.Choice) -> None:
|
||||||
)
|
)
|
||||||
def collect(filepath: click.Path, verbose: click.Choice) -> None:
|
def collect(filepath: click.Path, verbose: click.Choice) -> None:
|
||||||
"""Collect command for CLI.
|
"""Collect command for CLI.
|
||||||
|
\f
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
filepath : click.Path
|
filepath : click.Path
|
||||||
|
|
@ -169,7 +169,7 @@ def queue(
|
||||||
verbose: click.Choice,
|
verbose: click.Choice,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Queue command for CLI.
|
"""Queue command for CLI.
|
||||||
|
\f
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
filepath : click.Path
|
filepath : click.Path
|
||||||
|
|
@ -204,7 +204,7 @@ def queue(
|
||||||
@click.option("--long", "long_", is_flag=True)
|
@click.option("--long", "long_", is_flag=True)
|
||||||
def wtf(long_: bool) -> None:
|
def wtf(long_: bool) -> None:
|
||||||
"""Wtf command for CLI.
|
"""Wtf command for CLI.
|
||||||
|
\f
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
long_ : bool
|
long_ : bool
|
||||||
|
|
@ -225,7 +225,7 @@ def wtf(long_: bool) -> None:
|
||||||
@click.argument("subpkg", type=str)
|
@click.argument("subpkg", type=str)
|
||||||
def selftest(subpkg: str) -> None:
|
def selftest(subpkg: str) -> None:
|
||||||
"""Selftest command for CLI.
|
"""Selftest command for CLI.
|
||||||
|
\f
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
subpkg : {"all", "api", "configs", "data", "datagrabber", "datareader",
|
subpkg : {"all", "api", "configs", "data", "datagrabber", "datareader",
|
||||||
|
|
|
||||||
1
tox.ini
1
tox.ini
|
|
@ -96,6 +96,7 @@ extend-ignore =
|
||||||
B024 # abstract class with no abstract methods
|
B024 # abstract class with no abstract methods
|
||||||
D202
|
D202
|
||||||
D107 # missing docstring in __init__, incompatible with numpydoc
|
D107 # missing docstring in __init__, incompatible with numpydoc
|
||||||
|
D301 # use r""" if any backslashes in a docstring
|
||||||
E201 # whitespace after ‘(’
|
E201 # whitespace after ‘(’
|
||||||
E202 # whitespace before ‘)’
|
E202 # whitespace before ‘)’
|
||||||
E203 # whitespace before ‘,’, ‘;’, or ‘:’
|
E203 # whitespace before ‘,’, ‘;’, or ‘:’
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue