From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 21:04:52 +0000 (+0200) Subject: Bump ruff from 0.4.4 to 0.4.8 (#1343) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=05756f833f8b13bec25a7e9b8904b612ba4cd2e6;p=music-assistant-server.git Bump ruff from 0.4.4 to 0.4.8 (#1343) * Bump ruff from 0.4.4 to 0.4.8 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.4 to 0.4.8. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.8) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * lint --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcel van der Veldt --- diff --git a/music_assistant/common/helpers/json.py b/music_assistant/common/helpers/json.py index 839a19df..845fbece 100644 --- a/music_assistant/common/helpers/json.py +++ b/music_assistant/common/helpers/json.py @@ -2,12 +2,12 @@ import asyncio import base64 +from _collections_abc import dict_keys, dict_values from types import MethodType from typing import Any import aiofiles import orjson -from _collections_abc import dict_keys, dict_values JSON_ENCODE_EXCEPTIONS = (TypeError, ValueError) JSON_DECODE_EXCEPTIONS = (orjson.JSONDecodeError,) diff --git a/pyproject.toml b/pyproject.toml index 1d13704e..e8b4c5a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-aiohttp==1.0.5", "pytest-cov==5.0.0", "tomli==2.0.1", - "ruff==0.4.4", + "ruff==0.4.8", ] [project.scripts]