Fix code smells

This commit is contained in:
Gabriel Augendre 2020-02-29 11:12:22 +01:00
parent c4d6578057
commit 339b071137
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4
2 changed files with 4 additions and 2 deletions

View file

@ -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")

View file

@ -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()