Skip to content

Commit

Permalink
Fix help appeal command
Browse files Browse the repository at this point in the history
Turns out type hint bool is preventing appeal to generate
documentation, so workaround is to remove a bool type hint from each command
  • Loading branch information
axeoman committed Aug 25, 2023
1 parent 995fa0e commit 0d56c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ynab_sync/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def upload(
gocardless_secret_id: str = os.getenv(ENV_GOCARDLESS_SECRET_ID, ""),
gocardless_secret_key: str = os.getenv(ENV_GOCARDLESS_SECRET_KEY, ""),
gocardless_account_id: str = os.getenv(ENV_GOCARDLESS_ACCOUNT_ID, ""),
dry_run: bool = False,
dry_run=False,
):
log = logging.getLogger("cli.upload")
# TODO: Get this from appeal?
Expand Down
2 changes: 1 addition & 1 deletion ynab_sync/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def ynab_prompt(debug: bool = False):


@app.command()
def quickstart(*, debug: bool = False):
def quickstart(*, debug=False):
print(
"This tool will help you to generate .env file that ",
"is nessesarry for `ynab-sync` upload to work.\n",
Expand Down

0 comments on commit 0d56c62

Please sign in to comment.