diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3be27e175f..fc05a08c7c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,15 +45,15 @@ repos: # packages in a different order than the rest of the codebase. args: ["--ignore=I001"] - #- repo: https://github.com/pre-commit/mirrors-prettier - # rev: v3.0.0-alpha.4 - # hooks: - # - id: prettier + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.0.0-alpha.4 + hooks: + - id: prettier - #- repo: https://github.com/igorshubovych/markdownlint-cli - # rev: v0.33.0 - # hooks: - # - id: markdownlint + - repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.33.0 + hooks: + - id: markdownlint - repo: https://github.com/AleksaC/hadolint-py rev: v2.12.0.2 diff --git a/src/anomalib/deploy/inferencers/openvino_inferencer.py b/src/anomalib/deploy/inferencers/openvino_inferencer.py index bcf8cb5019..4fd9ecc79d 100644 --- a/src/anomalib/deploy/inferencers/openvino_inferencer.py +++ b/src/anomalib/deploy/inferencers/openvino_inferencer.py @@ -5,10 +5,10 @@ from __future__ import annotations +import logging from importlib.util import find_spec from pathlib import Path from typing import Any -import logging import albumentations as A import cv2