Skip to content

Commit

Permalink
FIX: type hinting for Python 3.6 requires typing.List not list
Browse files Browse the repository at this point in the history
  • Loading branch information
desty2k committed Feb 15, 2022
1 parent d69509f commit 98016d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load(fp: io.IOBase, overwrite: bool = False):

def dump(module: typing.Union[str, types.ModuleType],
fp: typing.IO[str],
skip_modules: list[typing.Union[str, types.ModuleType]] = None,
skip_modules: typing.List[typing.Union[str, types.ModuleType]] = None,
indent: int = None,
compile_modules: bool = False):
"""Serialize Python module as a JSON formatted stream to ``fp`` (a
Expand Down

0 comments on commit 98016d8

Please sign in to comment.