From 1e07656539343926f4a9d9720e07eb62efc9dd9d Mon Sep 17 00:00:00 2001 From: devdanzin <74280297+devdanzin@users.noreply.github.com> Date: Tue, 22 Aug 2023 10:16:38 -0300 Subject: [PATCH] Delete unused, untested decorators.py. --- src/wily/decorators.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/wily/decorators.py diff --git a/src/wily/decorators.py b/src/wily/decorators.py deleted file mode 100644 index a7e34c99..00000000 --- a/src/wily/decorators.py +++ /dev/null @@ -1,20 +0,0 @@ -""" -A module including decorators for wily. - -This API is not intended to be public and should not be consumed directly. - -""" - -from wily import __version__ - - -def add_version(f: function) -> function: - """ - Add the version of wily to the help heading. - - :param f: function to decorate - :return: decorated function - """ - doc = f.__doc__ if f.__doc__ else "" - f.__doc__ = "Version: " + __version__ + "\n\n" + doc - return f