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

@ -44,7 +44,7 @@ def new_options(lights: list[int], exclude: list[int]) -> dict[str, list[int]]:
def options_schema(
options: Mapping[str, Any] | None = None
options: Mapping[str, Any] | None = None,
) -> dict[vol.Optional, type[str]]:
"""Return options schema."""
options = options or {}