From 96d09c444ba362327cab16450dd9dd1a5b220f2b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 22:19:38 +0200 Subject: [PATCH] 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 --- music_assistant/common/models/enums.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] -- 2.34.1