Skip to content

Commit

Permalink
v1.3.9
Browse files Browse the repository at this point in the history
--------
2022-04-26: preserve Signature of the decorator
  • Loading branch information
bitranox committed Apr 26, 2022
1 parent 31a8b84 commit 342f6dd
Show file tree
Hide file tree
Showing 17 changed files with 48 additions and 483 deletions.
2 changes: 1 addition & 1 deletion .docs/README_template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ wrapt_timeout_decorator
=======================


Version v1.3.8 as of 2022-03-29 see `Changelog`_
Version v1.3.9 as of 2022-04-26 see `Changelog`_


.. include:: ./badges.rst
Expand Down
158 changes: 0 additions & 158 deletions .docs/README_template_backup.rst

This file was deleted.

7 changes: 7 additions & 0 deletions .docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@
.. include:: ./parts/detect_pickle_errors.rst
.. include:: ./parts/logging.rst
.. include:: ./parts/hard_timeout.rst


MYPY Testing
------------
for local MYPY Testing please make sure that the stub file "wrapt.pyi" is in in the MYPY Path (once!), in order to preserve the decorated function signature.


4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

v1.3.9
--------
2022-04-26: preserve Signature of the decorator

v1.3.8
--------
2022-03-29: remedy mypy Untyped decorator makes function "cli_info" untyped
Expand Down
10 changes: 9 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ wrapt_timeout_decorator
=======================


Version v1.3.8 as of 2022-03-29 see `Changelog`_
Version v1.3.9 as of 2022-04-26 see `Changelog`_

|build_badge| |license| |jupyter| |pypi| |pypi-downloads| |black|

Expand Down Expand Up @@ -722,6 +722,10 @@ the process might never run and will always timeout during spawning.

** well, more or less exactly - it still takes some short time to return from the spawned process - so be extra cautious on very short timeouts !

MYPY Testing
------------
for local MYPY Testing please make sure that the stub file "wrapt.pyi" is in in the MYPY Path (once!), in order to preserve the decorated function signature.

Usage from Commandline
------------------------

Expand Down Expand Up @@ -844,6 +848,10 @@ This software is licensed under the `MIT license <http://en.wikipedia.org/wiki/M
Changelog
=========

v1.3.9
--------
2022-04-26: preserve Signature of the decorator

v1.3.8
--------
2022-03-29: remedy mypy Untyped decorator makes function "cli_info" untyped
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_line_data(line: str) -> str:

setup_kwargs: Dict[str, Any] = dict()
setup_kwargs["name"] = "wrapt_timeout_decorator"
setup_kwargs["version"] = "v1.3.8"
setup_kwargs["version"] = "v1.3.9"
setup_kwargs["url"] = "https://github.com/bitranox/wrapt_timeout_decorator"
setup_kwargs["packages"] = find_packages()
setup_kwargs["package_data"] = {"wrapt_timeout_decorator": ["py.typed", "*.pyi", "__init__.pyi"]}
Expand Down
Loading

0 comments on commit 342f6dd

Please sign in to comment.