Bump ruff from 0.6.9 to 0.7.1 (#1752)
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fri, 25 Oct 2024 01:24:23 +0000 (03:24 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2024 01:24:23 +0000 (03:24 +0200)
* Bump ruff from 0.6.9 to 0.7.1

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.9 to 0.7.1.
- [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.6.9...0.7.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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/server/helpers/util.py
pyproject.toml

index 34ef1610d5a355edd7804babba772ea2d61cde40..3d342b735f2a43accef338348c8c26694bdfce18 100644 (file)
@@ -144,6 +144,7 @@ async def load_provider_module(domain: str, requirements: list[str]) -> Provider
 
 def create_tempfile():
     """Return a (named) temporary file."""
+    # ruff: noqa: SIM115
     if platform.system() == "Linux":
         return memory_tempfile.MemoryTempfile(fallback=True).NamedTemporaryFile(buffering=0)
     return tempfile.NamedTemporaryFile(buffering=0)
index 27b696b13e746e14992eb7754a287bb4737cfff8..54d40ea61e6b2527b0e16eba45d821311c05a90b 100644 (file)
@@ -52,7 +52,7 @@ test = [
   "pytest-cov==5.0.0",
   "syrupy==4.7.2",
   "tomli==2.0.2",
-  "ruff==0.6.9",
+  "ruff==0.7.1",
 ]
 
 [project.scripts]