Update Ruff

This commit is contained in:
Hynek Schlawack 2025-10-01 06:04:41 +02:00
parent 72b058a1d9
commit 33cf4babc2
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ ci:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.11
rev: v0.13.2
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]

View File

@ -173,7 +173,7 @@ class TestPasswordHasher:
with mock.patch("platform.machine", return_value=machine):
with pytest.raises(
UnsupportedParametersError,
match="In WebAssembly environments `parallelism` must be 1.",
match="In WebAssembly environments `parallelism` must be 1",
):
PasswordHasher(parallelism=2)
@ -181,7 +181,7 @@ class TestPasswordHasher:
params = Parameters(Type.I, 2, 8, 8, 3, 256, 8)
with pytest.raises(
UnsupportedParametersError,
match="In WebAssembly environments `parallelism` must be 1.",
match="In WebAssembly environments `parallelism` must be 1",
):
ph = PasswordHasher.from_parameters(params)