mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Remove unnnecessary pylint configs from components [s-z]* (#98925)
This commit is contained in:
@ -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 "
|
||||
|
Reference in New Issue
Block a user