From 243d72e77457327b716368e0e10154f13d8865bb Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Fri, 31 Oct 2025 17:06:49 -0700 Subject: [PATCH 1/2] Upgrade ruff --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f4282e4f65b..9b68e4e9b1d0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,9 +11,9 @@ repos: - id: black exclude: '^(test-data/)' - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.4 + rev: v0.14.3 hooks: - - id: ruff + - id: ruff-check args: [--exit-non-zero-on-fix] - repo: https://github.com/python-jsonschema/check-jsonschema rev: 0.32.1 From 459143d14274695a521b50a6e15da9ec35e29214 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Fri, 31 Oct 2025 17:24:57 -0700 Subject: [PATCH 2/2] . --- .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 9b68e4e9b1d0..1466c8e0fda4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.1.0 + rev: 25.9.0 hooks: - id: black exclude: '^(test-data/)' diff --git a/pyproject.toml b/pyproject.toml index f9f6c01b5c1c..42e10967cba2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,7 @@ mypyc = [ [tool.black] line-length = 99 -target-version = ["py39", "py310", "py311", "py312", "py313"] +target-version = ["py39", "py310", "py311", "py312", "py313", "py314"] skip-magic-trailing-comma = true force-exclude = ''' ^/mypy/typeshed|