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 Dec 15, 2022
1 parent 067699c commit bb0195a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pl_bolts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions pl_bolts/models/detection/components/torchvision_backbones.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion pl_bolts/models/self_supervised/moco/__init__.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pl_bolts/transforms/self_supervised/__init__.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bb0195a

Please sign in to comment.