From 339b071137f0c428b6e531331d496af1a50a6ac2 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 29 Feb 2020 11:12:22 +0100 Subject: [PATCH] Fix code smells --- ofx_processor/main.py | 3 ++- ofx_processor/utils/ynab.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ofx_processor/main.py b/ofx_processor/main.py index b11d43b..d9821e4 100644 --- a/ofx_processor/main.py +++ b/ofx_processor/main.py @@ -9,7 +9,8 @@ CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"]) @click.group(context_settings=CONTEXT_SETTINGS) @click.version_option() 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") diff --git a/ofx_processor/utils/ynab.py b/ofx_processor/utils/ynab.py index 6a53bdb..9c92dda 100644 --- a/ofx_processor/utils/ynab.py +++ b/ofx_processor/utils/ynab.py @@ -29,7 +29,8 @@ def get_config_file_name(): @click.group() def config(): - pass + pass # This function acts only as a group to collect other subcommands + # As such, it intentionally has no body @click.command()