Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent 52f7280 commit 5d5f864
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/deprecate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Deprecation package."""

import os

_PATH_PACKAGE = os.path.realpath(os.path.dirname(__file__))
Expand Down
1 change: 1 addition & 0 deletions src/deprecate/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/deprecate/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Copyright (C) 2020-2023 Jiri Borovec <...>
"""

import inspect
import warnings
from contextlib import contextmanager
Expand Down
1 change: 1 addition & 0 deletions tests/collection_targets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Copyright (C) 2020-2023 Jiri Borovec <...>."""

from typing import Any


Expand Down
1 change: 1 addition & 0 deletions tests/test_classes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Copyright (C) 2020-2023 Jiri Borovec <...>."""

from functools import partial
from typing import Any
from warnings import warn
Expand Down
1 change: 1 addition & 0 deletions tests/test_functions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Copyright (C) 2020-2023 Jiri Borovec <...>."""

import pytest
from deprecate.utils import no_warning_call

Expand Down

0 comments on commit 5d5f864

Please sign in to comment.