From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 01:24:23 +0000 (+0200) Subject: Bump ruff from 0.6.9 to 0.7.1 (#1752) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=734b2b708fca3fee4b324dc367069289b5d59f9b;p=music-assistant-server.git Bump ruff from 0.6.9 to 0.7.1 (#1752) * 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] * 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/server/helpers/util.py b/music_assistant/server/helpers/util.py index 34ef1610..3d342b73 100644 --- a/music_assistant/server/helpers/util.py +++ b/music_assistant/server/helpers/util.py @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 27b696b1..54d40ea6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]