From cef6ab73cdf3440e0cf36c355ca9df9522e81b47 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:33:54 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b → 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c](https://github.com/pre-commit/pre-commit-hooks/compare/cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b...3e8a8703264a2f4a69428a0aa4dcb512790b2c8c) - [github.com/rbubley/mirrors-prettier: 5ba47274f9b181bce26a5150a725577f3c336011 → 14abee445aea04b39069c19b4bd54efff6775819](https://github.com/rbubley/mirrors-prettier/compare/5ba47274f9b181bce26a5150a725577f3c336011...14abee445aea04b39069c19b4bd54efff6775819) - [github.com/astral-sh/ruff-pre-commit: 0b19ef1fd6ad680ed7752d6daba883ce1265a6de → 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83](https://github.com/astral-sh/ruff-pre-commit/compare/0b19ef1fd6ad680ed7752d6daba883ce1265a6de...5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebced1b..71cce48 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -23,14 +23,14 @@ repos: - id: check-added-large-files - repo: https://github.com/rbubley/mirrors-prettier - rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2 + rev: 14abee445aea04b39069c19b4bd54efff6775819 # frozen: v3.7.4 hooks: - id: prettier files: \.(html|md|yml|yaml|toml) args: [--prose-wrap=preserve] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 0b19ef1fd6ad680ed7752d6daba883ce1265a6de # frozen: v0.12.2 + rev: 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83 # frozen: v0.14.10 hooks: - id: ruff args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"] From 4d599c49e2c0cdadc21713aa89ea62ad8c8af3a8 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 7 Jan 2026 15:22:25 -0500 Subject: [PATCH 2/3] chore: Use raw string for pytest.raises match regex --- tests/test_lazy_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_lazy_loader.py b/tests/test_lazy_loader.py index 44e9c3d..d68537f 100644 --- a/tests/test_lazy_loader.py +++ b/tests/test_lazy_loader.py @@ -215,7 +215,7 @@ def test_stub_loading_errors(tmp_path): stub2 = tmp_path / "stub2.pyi" stub2.write_text("from .mod import *\n") - with pytest.raises(ValueError, match=".*does not support star import"): + with pytest.raises(ValueError, match=r".*does not support star import"): lazy.attach_stub("name", str(stub2)) From a988b6cfdabac9dc43d88c312fbe9b26d1248e5c Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 7 Jan 2026 15:23:38 -0500 Subject: [PATCH 3/3] chore: Rerun prettier --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71cce48..b46a33d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -23,14 +23,14 @@ repos: - id: check-added-large-files - repo: https://github.com/rbubley/mirrors-prettier - rev: 14abee445aea04b39069c19b4bd54efff6775819 # frozen: v3.7.4 + rev: 14abee445aea04b39069c19b4bd54efff6775819 # frozen: v3.7.4 hooks: - id: prettier files: \.(html|md|yml|yaml|toml) args: [--prose-wrap=preserve] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83 # frozen: v0.14.10 + rev: 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83 # frozen: v0.14.10 hooks: - id: ruff args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]