Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter * Upgrade Ruff to 0.1.8 - https://github.com/astral-sh/ruff/releases/tag/v0.1.7 - https://github.com/astral-sh/ruff/releases/tag/v0.1.8 * Format with Ruff 0.1.8
This commit is contained in:
parent
f5f9b89848
commit
24b1e01d71
91 changed files with 188 additions and 173 deletions
|
@ -320,7 +320,7 @@ async def mock_bluetooth_entry(
|
|||
"""Set up an ESPHome entry with bluetooth."""
|
||||
|
||||
async def _mock_bluetooth_entry(
|
||||
bluetooth_proxy_feature_flags: BluetoothProxyFeature
|
||||
bluetooth_proxy_feature_flags: BluetoothProxyFeature,
|
||||
) -> MockESPHomeDevice:
|
||||
return await _mock_generic_device_entry(
|
||||
hass,
|
||||
|
@ -348,7 +348,7 @@ async def mock_bluetooth_entry_with_raw_adv(mock_bluetooth_entry) -> MockESPHome
|
|||
|
||||
@pytest.fixture
|
||||
async def mock_bluetooth_entry_with_legacy_adv(
|
||||
mock_bluetooth_entry
|
||||
mock_bluetooth_entry,
|
||||
) -> MockESPHomeDevice:
|
||||
"""Set up an ESPHome entry with bluetooth with legacy advertisements."""
|
||||
return await mock_bluetooth_entry(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue