Skip to content

Commit

Permalink
Fix custom Path types in mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Mar 3, 2021
1 parent 82ced17 commit 95272fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/outgoing/config.py
Expand Up @@ -7,9 +7,9 @@
if TYPE_CHECKING:
from pydantic.typing import CallableGenerator

Path = Union[pathlib.Path, str]
FilePath = Union[pathlib.Path, str]
DirectoryPath = Union[pathlib.Path, str]
Path = pathlib.Path
FilePath = pathlib.Path
DirectoryPath = pathlib.Path

else:

Expand Down

0 comments on commit 95272fb

Please sign in to comment.