Skip to content

Commit ccddd44

Browse files
authored
Merge pull request #163 from scientific-python/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents ca2ed92 + a988b6c commit ccddd44

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
12+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
1313
hooks:
1414
- id: trailing-whitespace
1515
- id: end-of-file-fixer
@@ -23,14 +23,14 @@ repos:
2323
- id: check-added-large-files
2424

2525
- repo: https://github.com/rbubley/mirrors-prettier
26-
rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2
26+
rev: 14abee445aea04b39069c19b4bd54efff6775819 # frozen: v3.7.4
2727
hooks:
2828
- id: prettier
2929
files: \.(html|md|yml|yaml|toml)
3030
args: [--prose-wrap=preserve]
3131

3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: 0b19ef1fd6ad680ed7752d6daba883ce1265a6de # frozen: v0.12.2
33+
rev: 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83 # frozen: v0.14.10
3434
hooks:
3535
- id: ruff
3636
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]

tests/test_lazy_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def test_stub_loading_errors(tmp_path):
215215

216216
stub2 = tmp_path / "stub2.pyi"
217217
stub2.write_text("from .mod import *\n")
218-
with pytest.raises(ValueError, match=".*does not support star import"):
218+
with pytest.raises(ValueError, match=r".*does not support star import"):
219219
lazy.attach_stub("name", str(stub2))
220220

221221

0 commit comments

Comments
 (0)