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

@ -136,7 +136,7 @@ class EventStateChangedData(TypedDict):
def threaded_listener_factory(
async_factory: Callable[Concatenate[HomeAssistant, _P], Any]
async_factory: Callable[Concatenate[HomeAssistant, _P], Any],
) -> Callable[Concatenate[HomeAssistant, _P], CALLBACK_TYPE]:
"""Convert an async event helper to a threaded one."""