diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f8c1f82..1f3b23d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/tests/test_password_hasher.py b/tests/test_password_hasher.py index c5805f6..b519c36 100644 --- a/tests/test_password_hasher.py +++ b/tests/test_password_hasher.py @@ -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)