diff --git a/src/deprecate/__init__.py b/src/deprecate/__init__.py index f6653b7..b30387a 100644 --- a/src/deprecate/__init__.py +++ b/src/deprecate/__init__.py @@ -1,4 +1,5 @@ """Deprecation package.""" + import os _PATH_PACKAGE = os.path.realpath(os.path.dirname(__file__)) diff --git a/src/deprecate/deprecation.py b/src/deprecate/deprecation.py index 1d22492..1af7544 100644 --- a/src/deprecate/deprecation.py +++ b/src/deprecate/deprecation.py @@ -3,6 +3,7 @@ Copyright (C) 2020-2023 Jiri Borovec <...> """ + import inspect from functools import partial, wraps from typing import Any, Callable, Dict, Optional, Union diff --git a/src/deprecate/utils.py b/src/deprecate/utils.py index c11ea06..36cf38f 100644 --- a/src/deprecate/utils.py +++ b/src/deprecate/utils.py @@ -3,6 +3,7 @@ Copyright (C) 2020-2023 Jiri Borovec <...> """ + import inspect import warnings from contextlib import contextmanager diff --git a/tests/collection_targets.py b/tests/collection_targets.py index a2fc326..a460f40 100644 --- a/tests/collection_targets.py +++ b/tests/collection_targets.py @@ -1,4 +1,5 @@ """Copyright (C) 2020-2023 Jiri Borovec <...>.""" + from typing import Any diff --git a/tests/test_classes.py b/tests/test_classes.py index 97e7fff..60e192c 100644 --- a/tests/test_classes.py +++ b/tests/test_classes.py @@ -1,4 +1,5 @@ """Copyright (C) 2020-2023 Jiri Borovec <...>.""" + from functools import partial from typing import Any from warnings import warn diff --git a/tests/test_functions.py b/tests/test_functions.py index 5dded1e..5663dd7 100644 --- a/tests/test_functions.py +++ b/tests/test_functions.py @@ -1,4 +1,5 @@ """Copyright (C) 2020-2023 Jiri Borovec <...>.""" + import pytest from deprecate.utils import no_warning_call