Bump ruff from 0.5.2 to 0.5.7 (#1550)
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fri, 9 Aug 2024 20:19:38 +0000 (22:19 +0200)
committerGitHub <noreply@github.com>
Fri, 9 Aug 2024 20:19:38 +0000 (22:19 +0200)
* 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] <support@github.com>
* lint

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
music_assistant/common/models/enums.py
pyproject.toml

index cca6ae424450e25c0b25321159e1b59b995795b9..b3ddc8322fef1274a09f852aa228e0c927fd68fa 100644 (file)
@@ -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,
index 03dcb1f8e5322418b65e19083b5843bfa6945636..4853d633e948fcbb976416f9dea0a367989b24bf 100644 (file)
@@ -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]