From 2f2c7468b7329f86c452d3b668e7c2715de271f7 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sun, 6 Apr 2025 09:40:31 -0400 Subject: [PATCH] Update pre-commit --- .pre-commit-config.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d6e1982b..d7875403e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,8 +13,18 @@ repos: types_or: [yaml, json5] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.0 + # Ruff version. + rev: v0.11.4 hooks: - - id: ruff-format + # Run the linter. - id: ruff args: [--fix, --exit-non-zero-on-fix] + # Run the formatter. + - id: ruff-format + + - repo: https://github.com/northisup/pyright-pretty + rev: v0.1.0 + hooks: + - id: pyright-pretty + files: ^src/|^tests/ + exclude: ^examples/