mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
Sort imports according to PEP8 for minio (#29723)
This commit is contained in:
parent
6a67532a2d
commit
7128396f1a
@ -1,8 +1,8 @@
|
||||
"""Minio component."""
|
||||
import logging
|
||||
import os
|
||||
import threading
|
||||
from queue import Queue
|
||||
import threading
|
||||
from typing import List
|
||||
|
||||
import voluptuous as vol
|
||||
@ -10,7 +10,7 @@ import voluptuous as vol
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
from .minio_helper import create_minio_client, MinioEventThread
|
||||
from .minio_helper import MinioEventThread, create_minio_client
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
"""Minio helper methods."""
|
||||
import time
|
||||
from collections.abc import Iterable
|
||||
import json
|
||||
import logging
|
||||
from queue import Queue
|
||||
import re
|
||||
import threading
|
||||
from queue import Queue
|
||||
import time
|
||||
from typing import Iterator, List
|
||||
from urllib.parse import unquote
|
||||
|
||||
|
@ -3,19 +3,19 @@ import asyncio
|
||||
import json
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from asynctest import call, patch
|
||||
import pytest
|
||||
from asynctest import patch, call
|
||||
|
||||
from homeassistant.components.minio import (
|
||||
QueueListener,
|
||||
DOMAIN,
|
||||
CONF_HOST,
|
||||
CONF_PORT,
|
||||
CONF_ACCESS_KEY,
|
||||
CONF_SECRET_KEY,
|
||||
CONF_SECURE,
|
||||
CONF_HOST,
|
||||
CONF_LISTEN,
|
||||
CONF_LISTEN_BUCKET,
|
||||
CONF_PORT,
|
||||
CONF_SECRET_KEY,
|
||||
CONF_SECURE,
|
||||
DOMAIN,
|
||||
QueueListener,
|
||||
)
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
Loading…
Reference in New Issue
Block a user