Skip to content

Commit b93f2b7

Browse files
committed
Fix some typing issues
1 parent 499e9fb commit b93f2b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/bna

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_default_config_path() -> str:
2020
Returns the default configuration file path
2121
"""
2222
configdir = "bna"
23-
home = os.environ.get("HOME")
23+
home = os.environ.get("HOME", "")
2424
if os.name == "posix":
2525
base = os.environ.get("XDG_CONFIG_HOME", os.path.join(home, ".config"))
2626
path = os.path.join(base, configdir)
@@ -138,7 +138,7 @@ class App:
138138

139139

140140
class DefaultShowGroup(click.Group):
141-
def parse_args(self, ctx: click.Context, args: list):
141+
def parse_args(self, ctx: click.Context, args: List[str]):
142142
if not args:
143143
args.append("show")
144144
return super().parse_args(ctx, args)

0 commit comments

Comments
 (0)