mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-04 20:09:35 +02:00
Bump black from 23.12.1 to 24.2.0 (#6221)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
"""Support for Honeywell HumidIcon HIH"""
|
||||
|
||||
CODEOWNERS = ["@Benichou34"]
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
"""Support for Honeywell ABP2"""
|
||||
|
||||
CODEOWNERS = ["@jpfaff"]
|
||||
|
||||
@@ -7,6 +7,7 @@ reading temperatures to a resolution of 0.0625°C.
|
||||
https://www.sparkfun.com/datasheets/Sensors/Temperature/tmp102.pdf
|
||||
|
||||
"""
|
||||
|
||||
import esphome.codegen as cg
|
||||
import esphome.config_validation as cv
|
||||
from esphome.components import i2c, sensor
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
The cryptography package is loaded lazily in the functions
|
||||
so that it doesn't crash if it's not installed.
|
||||
"""
|
||||
|
||||
import logging
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
+1
-2
@@ -292,8 +292,7 @@ class ConfigValidationStep(abc.ABC):
|
||||
priority: float = 0.0
|
||||
|
||||
@abc.abstractmethod
|
||||
def run(self, result: Config) -> None:
|
||||
...
|
||||
def run(self, result: Config) -> None: ... # noqa: E704
|
||||
|
||||
|
||||
class LoadValidationStep(ConfigValidationStep):
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Enum backports from standard lib."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from enum import Enum
|
||||
|
||||
@@ -8,7 +8,6 @@ originally do.
|
||||
However there is a property to further disable decorator
|
||||
impact."""
|
||||
|
||||
|
||||
# This is set to true by script/build_language_schema.py
|
||||
# only, so data is collected (again functionality is not modified)
|
||||
EnableSchemaExtraction = False
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""This helper module tracks commonly used types in the esphome python codebase."""
|
||||
|
||||
from typing import Union
|
||||
|
||||
from esphome.core import ID, Lambda, EsphomeCore
|
||||
|
||||
Reference in New Issue
Block a user