Skip to content

Commit

Permalink
feat(utils): add utils.types, PathStr alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenM committed Dec 11, 2022
1 parent fab22ba commit 63f65b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions micropy/utils/types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""Type utilities and variables."""

from os import PathLike
from typing import Union

from typing_extensions import TypeAlias

PathStr: TypeAlias = Union[str, PathLike[str]]

0 comments on commit 63f65b9

Please sign in to comment.