FelixTheC / strongtyping

Decorator which checks whether the function is called with the correct type of parameters.
https://pypi.org/project/strongtyping/
107 stars 3 forks source link

Include mypy into Action #49

Open FelixTheC opened 3 years ago

FelixTheC commented 3 years ago

When package users are working with mypy the get errors (Untyped decorator makes function "xyz" untyped)

Fix with: F = TypeVar('F', bound=Callable[..., Any]) DecoFact = Callable[[F], F] # Decorator_Factory

Use strictes mypy settings as possible and fix issues