Update Ruff
This commit is contained in:
parent
72b058a1d9
commit
33cf4babc2
@ -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]
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user