Skip to content

Commit

Permalink
Fix typespec error
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Nov 14, 2022
1 parent f0ef33b commit 9069f04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pyscaffold/info.py
Expand Up @@ -350,15 +350,17 @@ def config_dir(prog=PKG_NAME, org=None, default=RAISE_EXCEPTION):


@overload
def config_file(name: str = CONFIG_FILE, prog: str = PKG_NAME, org: str = None) -> Path:
def config_file(
name: str = CONFIG_FILE, prog: str = PKG_NAME, org: Optional[str] = None
) -> Path:
...


@overload
def config_file(
name: str = CONFIG_FILE,
prog: str = PKG_NAME,
org: str = None,
org: Optional[str] = None,
default: Optional[Path] = RAISE_EXCEPTION,
) -> Optional[Path]:
...
Expand Down

0 comments on commit 9069f04

Please sign in to comment.