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"