Fix code smells
This commit is contained in:
parent
c4d6578057
commit
339b071137
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,8 @@ CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"])
|
||||||
@click.group(context_settings=CONTEXT_SETTINGS)
|
@click.group(context_settings=CONTEXT_SETTINGS)
|
||||||
@click.version_option()
|
@click.version_option()
|
||||||
def cli():
|
def cli():
|
||||||
pass
|
pass # This function acts only as a group to collect other subcommands
|
||||||
|
# As such, it intentionally has no body
|
||||||
|
|
||||||
|
|
||||||
cli.add_command(ynab.config, name="config")
|
cli.add_command(ynab.config, name="config")
|
||||||
|
|
|
@ -29,7 +29,8 @@ def get_config_file_name():
|
||||||
|
|
||||||
@click.group()
|
@click.group()
|
||||||
def config():
|
def config():
|
||||||
pass
|
pass # This function acts only as a group to collect other subcommands
|
||||||
|
# As such, it intentionally has no body
|
||||||
|
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
|
|
Loading…
Reference in a new issue