From bedd31b2901130b7f60af8bccd8370b255548704 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 06:05:08 +0000 Subject: [PATCH 1/2] Bump ruff from 0.16.4 to 0.16.5 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.16.4 to 0.16.5. - [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.16.4...0.16.5) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2288517e02..f1b79997fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ docs = [ "mkdocs-gen-files", "mkdocs-literate-nav", ] -lint = ["pre-commit>=2.16.0", "ruff==0.16.4", "ty"] +lint = ["pre-commit>=2.16.0", "ruff==0.16.5", "ty"] all = ["process[test,docs,lint,examples,plotly]", "toml"] [project.scripts] @@ -111,7 +111,7 @@ deploy = "mkdocs gh-deploy" [tool.hatch.envs.lint] detached = true # Don't inherit from default (does not download project dependencies) -dependencies = ["pre-commit", "ruff==0.16.4", "ty"] +dependencies = ["pre-commit", "ruff==0.16.5", "ty"] [tool.hatch.envs.lint.scripts] fmt = ["pre-commit run --all-files --hook-stage manual {args:}"] From d65353807110d8394edcf45b9718d081a7842097 Mon Sep 17 00:00:00 2001 From: james <81617086+je-cook@users.noreply.github.com> Date: Wed, 2 Sep 2026 09:04:43 +0100 Subject: [PATCH 2/2] update ruff --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd55730bf0..0e6220626e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-merge-conflict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.4 + rev: v0.16.5 hooks: - id: ruff-check args: [--fix] @@ -22,7 +22,7 @@ repos: args: [--mapping, '2', --sequence, '4', --offset, '2', --preserve-quotes] - repo: https://github.com/biomejs/pre-commit - rev: v2.5.10 + rev: v2.5.11 hooks: - id: biome-format types: [json] diff --git a/pyproject.toml b/pyproject.toml index f1b79997fa..ad4be3616d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -252,7 +252,8 @@ ignore = [ "RUF105", # noqa-comments "RUF106", # rule-codes-in-suppression-comments "RUF201", # rule-codes-in-selectors - + # and now ruff ignores preferences + "pytest-fixture-autouse" ] [tool.ruff.lint.pep8-naming]