[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:
|
||||
"""Run command for CLI.
|
||||
|
||||
\f
|
||||
Parameters
|
||||
----------
|
||||
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:
|
||||
"""Collect command for CLI.
|
||||
|
||||
\f
|
||||
Parameters
|
||||
----------
|
||||
filepath : click.Path
|
||||
|
|
@ -169,7 +169,7 @@ def queue(
|
|||
verbose: click.Choice,
|
||||
) -> None:
|
||||
"""Queue command for CLI.
|
||||
|
||||
\f
|
||||
Parameters
|
||||
----------
|
||||
filepath : click.Path
|
||||
|
|
@ -204,7 +204,7 @@ def queue(
|
|||
@click.option("--long", "long_", is_flag=True)
|
||||
def wtf(long_: bool) -> None:
|
||||
"""Wtf command for CLI.
|
||||
|
||||
\f
|
||||
Parameters
|
||||
----------
|
||||
long_ : bool
|
||||
|
|
@ -225,7 +225,7 @@ def wtf(long_: bool) -> None:
|
|||
@click.argument("subpkg", type=str)
|
||||
def selftest(subpkg: str) -> None:
|
||||
"""Selftest command for CLI.
|
||||
|
||||
\f
|
||||
Parameters
|
||||
----------
|
||||
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
|
||||
D202
|
||||
D107 # missing docstring in __init__, incompatible with numpydoc
|
||||
D301 # use r""" if any backslashes in a docstring
|
||||
E201 # whitespace after ‘(’
|
||||
E202 # whitespace before ‘)’
|
||||
E203 # whitespace before ‘,’, ‘;’, or ‘:’
|
||||
|
|
|
|||
Loading…
Reference in a new issue