Skip to content

Commit

Permalink
made flake8 happy too
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Nov 18, 2024
1 parent 5f9061f commit eb885f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion portalocker/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
'rbU', 'rUb', 'Urb', 'brU', 'bUr', 'Ubr',
]
Filename = Union[str, pathlib.Path]
IO: typing.TypeAlias = Union[typing.IO[str], typing.IO[bytes]] # type: ignore[name-defined]
IO: typing.TypeAlias = Union[ # type: ignore[name-defined]
typing.IO[str],
typing.IO[bytes],
]


class FileOpenKwargs(typing.TypedDict):
Expand Down

0 comments on commit eb885f2

Please sign in to comment.