From bb0195a3cade3211369633a42a81acba9488ede2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 15 Dec 2022 17:21:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pl_bolts/__init__.py | 4 ++-- pl_bolts/models/detection/components/torchvision_backbones.py | 4 ++-- pl_bolts/models/self_supervised/moco/__init__.py | 2 +- pl_bolts/transforms/self_supervised/__init__.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pl_bolts/__init__.py b/pl_bolts/__init__.py index f1b4ed235d..dd79329c13 100644 --- a/pl_bolts/__init__.py +++ b/pl_bolts/__init__.py @@ -2,13 +2,13 @@ import os -from pl_bolts.__about__ import * # noqa: F401, F403 +from pl_bolts.__about__ import * _PACKAGE_ROOT = os.path.dirname(__file__) _PROJECT_ROOT = os.path.dirname(_PACKAGE_ROOT) _HTTPS_AWS_HUB = "https://pl-bolts-weights.s3.us-east-2.amazonaws.com" -from pl_bolts import ( # noqa: E402 +from pl_bolts import ( callbacks, datamodules, datasets, diff --git a/pl_bolts/models/detection/components/torchvision_backbones.py b/pl_bolts/models/detection/components/torchvision_backbones.py index 835e1301d2..ce7348ffa5 100644 --- a/pl_bolts/models/detection/components/torchvision_backbones.py +++ b/pl_bolts/models/detection/components/torchvision_backbones.py @@ -3,9 +3,9 @@ import torch.nn as nn from pl_bolts.models.detection.components._supported_models import TORCHVISION_MODEL_ZOO -from pl_bolts.utils import _TORCHVISION_AVAILABLE # noqa: F401 +from pl_bolts.utils import _TORCHVISION_AVAILABLE from pl_bolts.utils.stability import under_review -from pl_bolts.utils.warnings import warn_missing_pkg # noqa: F401 +from pl_bolts.utils.warnings import warn_missing_pkg @under_review() diff --git a/pl_bolts/models/self_supervised/moco/__init__.py b/pl_bolts/models/self_supervised/moco/__init__.py index 8548102c5c..ce2d06d7f5 100644 --- a/pl_bolts/models/self_supervised/moco/__init__.py +++ b/pl_bolts/models/self_supervised/moco/__init__.py @@ -1,4 +1,4 @@ -from pl_bolts.models.self_supervised.moco.transforms import ( # noqa: F401 +from pl_bolts.models.self_supervised.moco.transforms import ( Moco2EvalCIFAR10Transforms, Moco2EvalImagenetTransforms, Moco2EvalSTL10Transforms, diff --git a/pl_bolts/transforms/self_supervised/__init__.py b/pl_bolts/transforms/self_supervised/__init__.py index e36d919c07..f91ee2fd16 100644 --- a/pl_bolts/transforms/self_supervised/__init__.py +++ b/pl_bolts/transforms/self_supervised/__init__.py @@ -1 +1 @@ -from pl_bolts.transforms.self_supervised.ssl_transforms import Patchify, RandomTranslateWithReflect # noqa: F401 +from pl_bolts.transforms.self_supervised.ssl_transforms import Patchify, RandomTranslateWithReflect