diff --git a/logwrap/_log_wrap_shared.pyi b/logwrap/_log_wrap_shared.pyi index 88102d5..37b2880 100644 --- a/logwrap/_log_wrap_shared.pyi +++ b/logwrap/_log_wrap_shared.pyi @@ -27,11 +27,11 @@ class BoundParameter(object): '_value' ) - POSITIONAL_ONLY = Parameter.POSITIONAL_ONLY # type: enum.IntEnum - POSITIONAL_OR_KEYWORD = Parameter.POSITIONAL_OR_KEYWORD # type: enum.IntEnum - VAR_POSITIONAL = Parameter.VAR_POSITIONAL # type: enum.IntEnum - KEYWORD_ONLY = Parameter.KEYWORD_ONLY # type: enum.IntEnum - VAR_KEYWORD = Parameter.VAR_KEYWORD # type: enum.IntEnum + POSITIONAL_ONLY = Parameter.POSITIONAL_ONLY + POSITIONAL_OR_KEYWORD = Parameter.POSITIONAL_OR_KEYWORD + VAR_POSITIONAL = Parameter.VAR_POSITIONAL + KEYWORD_ONLY = Parameter.KEYWORD_ONLY + VAR_KEYWORD = Parameter.VAR_KEYWORD empty = Parameter.empty # type: typing.Type diff --git a/logwrap/py.typed b/logwrap/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index e454818..25ed0e7 100644 --- a/setup.py +++ b/setup.py @@ -267,6 +267,8 @@ def get_simple_vars_from_src(src): 'logwrap': [ os.path.basename(filename) for filename in glob.glob(os.path.join('logwrap', '*.pyi')) + ] + [ + 'py.typed' ], }, )