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 2288517e02..ad4be3616d 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:}"] @@ -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]