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:
Ville Skyttä 2023-12-21 00:55:09 +02:00 committed by GitHub
parent f5f9b89848
commit 24b1e01d71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
91 changed files with 188 additions and 173 deletions

View file

@ -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(