Remove unnnecessary pylint configs from components [s-z]* (#98925)

This commit is contained in:
Ville Skyttä
2023-08-24 02:25:32 +03:00
committed by GitHub
parent c39f6b3bea
commit b51c0f6ddc
39 changed files with 55 additions and 93 deletions

View File

@ -9,7 +9,7 @@ import time
import numpy as np
from PIL import Image, ImageDraw, UnidentifiedImageError
import tensorflow as tf # pylint: disable=import-error
import tensorflow as tf
import voluptuous as vol
from homeassistant.components.image_processing import (
@ -148,7 +148,7 @@ def setup_platform(
try:
# Display warning that PIL will be used if no OpenCV is found.
import cv2 # noqa: F401 pylint: disable=unused-import, import-outside-toplevel
import cv2 # noqa: F401 pylint: disable=import-outside-toplevel
except ImportError:
_LOGGER.warning(
"No OpenCV library found. TensorFlow will process image with "