From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 20:19:38 +0000 (+0200) Subject: Bump ruff from 0.5.2 to 0.5.7 (#1550) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=96d09c444ba362327cab16450dd9dd1a5b220f2b;p=music-assistant-server.git Bump ruff from 0.5.2 to 0.5.7 (#1550) * Bump ruff from 0.5.2 to 0.5.7 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.5.7. - [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/0.5.2...0.5.7) --- 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/models/enums.py b/music_assistant/common/models/enums.py index cca6ae42..b3ddc832 100644 --- a/music_assistant/common/models/enums.py +++ b/music_assistant/common/models/enums.py @@ -10,7 +10,7 @@ class MediaTypeMeta(EnumType): """Class properties for MediaType.""" @property - def ALL(self) -> list[MediaType]: # noqa: N802 + def ALL(cls) -> list[MediaType]: # noqa: N802 """All MediaTypes.""" return [ MediaType.ARTIST, diff --git a/pyproject.toml b/pyproject.toml index 03dcb1f8..4853d633 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ test = [ "pytest-cov==5.0.0", "syrupy==4.6.1", "tomli==2.0.1", - "ruff==0.5.2", + "ruff==0.5.7", ] [project.scripts]