diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1580f10..6ea3234 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,6 @@ repos: args: - --safe - --quiet - files: ^((components|esphome|script|tests)/.+)?[^/]+\.py$ - repo: https://github.com/PyCQA/flake8 rev: 7.1.0 hooks: @@ -30,7 +29,6 @@ repos: additional_dependencies: - flake8-docstrings==1.5.0 - pydocstyle==5.1.1 - files: ^(components|esphome|tests)/.+\.py$ - repo: https://github.com/asottile/pyupgrade rev: v3.17.0 hooks: diff --git a/components/xiaomi_ble/__init__.py b/components/xiaomi_ble/__init__.py index 046adc6..541a0e7 100644 --- a/components/xiaomi_ble/__init__.py +++ b/components/xiaomi_ble/__init__.py @@ -1,6 +1,6 @@ import esphome.codegen as cg -import esphome.config_validation as cv from esphome.components import esp32_ble_tracker +import esphome.config_validation as cv from esphome.const import CONF_ID DEPENDENCIES = ["esp32_ble_tracker"]