Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #815

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.1
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
12 changes: 6 additions & 6 deletions tests/test_pybase64.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def test_invalid_padding_dec(
[memoryview(b"- _")[::2], BufferError],
]
params_invalid_altchars = pytest.mark.parametrize(
"altchars,exception",
("altchars", "exception"),
params_invalid_altchars_values,
ids=[str(i) for i in range(len(params_invalid_altchars_values))],
)
Expand Down Expand Up @@ -344,7 +344,7 @@ def test_invalid_altchars_dec_validate(
# [std, b'-_', BinAsciiError], TODO does no fail with base64 module
]
params_invalid_data_all = pytest.mark.parametrize(
"vector,altchars,exception",
("vector", "altchars", "exception"),
params_invalid_data_novalidate_values + params_invalid_data_validate_values,
ids=[
str(i)
Expand All @@ -354,12 +354,12 @@ def test_invalid_altchars_dec_validate(
],
)
params_invalid_data_novalidate = pytest.mark.parametrize(
"vector,altchars,exception",
("vector", "altchars", "exception"),
params_invalid_data_novalidate_values,
ids=[str(i) for i in range(len(params_invalid_data_novalidate_values))],
)
params_invalid_data_validate = pytest.mark.parametrize(
"vector,altchars,exception",
("vector", "altchars", "exception"),
params_invalid_data_validate_values,
ids=[str(i) for i in range(len(params_invalid_data_validate_values))],
)
Expand Down Expand Up @@ -409,12 +409,12 @@ def test_invalid_data_dec_validate(
[memoryview(b"abcd").cast("I"), TypeError],
]
params_invalid_data_enc = pytest.mark.parametrize(
"vector,exception",
("vector", "exception"),
params_invalid_data_enc_values,
ids=[str(i) for i in range(len(params_invalid_data_enc_values))],
)
params_invalid_data_encodebytes = pytest.mark.parametrize(
"vector,exception",
("vector", "exception"),
params_invalid_data_encodebytes_values,
ids=[str(i) for i in range(len(params_invalid_data_encodebytes_values))],
)
Expand Down
Loading