From d092f65924f7d51d7600c9fd24f1cde9ff441700 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Sep 2024 22:02:15 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- kornia/contrib/object_detection.py | 3 +-- kornia/filters/dexined.py | 2 +- requirements/requirements-dev.txt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kornia/contrib/object_detection.py b/kornia/contrib/object_detection.py index b2a9ba20a4..40dfbd0962 100644 --- a/kornia/contrib/object_detection.py +++ b/kornia/contrib/object_detection.py @@ -29,8 +29,7 @@ class BoundingBox(BoundingBoxBase): warnings.warn( - "BoundingBox is deprecated and will be removed in v0.8.0. " - "Use kornia.models.detector.BoundingBox instead.", + "BoundingBox is deprecated and will be removed in v0.8.0. " "Use kornia.models.detector.BoundingBox instead.", DeprecationWarning, ) diff --git a/kornia/filters/dexined.py b/kornia/filters/dexined.py index ba4dc2f719..adb3d2437c 100644 --- a/kornia/filters/dexined.py +++ b/kornia/filters/dexined.py @@ -3,7 +3,7 @@ from __future__ import annotations from collections import OrderedDict -from typing import ClassVar, List, Optional +from typing import ClassVar, Optional import torch import torch.nn.functional as F diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 0886bbedbb..28b35e28dc 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,8 +1,8 @@ accelerate boxmot coverage -distutils diffusers +distutils mypy numpy<3 onnx