From f3cfe43c403856a9338c5dd03f188aa3342b4456 Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Mon, 12 Oct 2026 20:17:56 +0100 Subject: [PATCH] chore(deps): bump ruff to 0.16.3 The pin is exact everywhere ruff runs, so the dev dependency and the pre-commit hook move together. --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c18a23..75e78f1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_install_hook_types: [pre-commit, pre-push] repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.16.2 + rev: v0.16.3 hooks: # Auto-fix lint issues on staged files and block the commit if any finding remains after the fix. The codebase reached zero findings under the real default ruleset (see the fix/remaining-ruff-findings PR chain), so this hook now enforces that state locally, matching CI's ruff check . rather than just warning about drift from it. - id: ruff-check diff --git a/pyproject.toml b/pyproject.toml index 0e28833..cde15c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ [project.optional-dependencies] run = ["pandas", "pywr"] -dev = ["pytest>=8.0", "pytest-cov>=5.0", "mypy>=1.10", "pandas-stubs", "vulture>=2.11", "bandit>=1.7", "pip-audit>=2.7", "ruff==0.16.2"] +dev = ["pytest>=8.0", "pytest-cov>=5.0", "mypy>=1.10", "pandas-stubs", "vulture>=2.11", "bandit>=1.7", "pip-audit>=2.7", "ruff==0.16.3"] [project.scripts] pywr-utils = "pywr_utils.cli:main"