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

@ -43,7 +43,7 @@ def api_error(
"""Handle HassioAPIError and raise a specific AddonError."""
def handle_hassio_api_error(
func: _FuncType[_AddonManagerT, _P, _R]
func: _FuncType[_AddonManagerT, _P, _R],
) -> _ReturnFuncType[_AddonManagerT, _P, _R]:
"""Handle a HassioAPIError."""