Skip to content

Commit 4b499e3

Browse files
[pre-commit.ci] pre-commit autoupdate (#276)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.13.3](astral-sh/ruff-pre-commit@v0.12.2...v0.13.3) * FIX: Remove period from match test condition --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Greg Lucas <greg.m.lucas@gmail.com>
1 parent 255aefc commit 4b499e3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33
autoupdate_schedule: 'quarterly'
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
6+
rev: v6.0.0
77
hooks:
88
- id: check-added-large-files
99
args: ['--maxkb=1000']
@@ -15,7 +15,7 @@ repos:
1515
- id: no-commit-to-branch
1616
args: [--branch, main, --branch, dev]
1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: 'v0.12.2'
18+
rev: 'v0.13.3'
1919
hooks:
2020
- id: ruff
2121
args: [--fix]

tests/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def test_reprocess_only_data_level(mock_send_request):
444444
"""
445445
with pytest.raises(
446446
ValueError,
447-
match="If data_level is provided, instrument and descriptor are required.",
447+
match="If data_level is provided, instrument and descriptor are required",
448448
):
449449
imap_data_access.reprocess(
450450
start_date="20251017", end_date="20251017", data_level="l1a"

tests/test_processing_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_spice_input():
179179
# Test with invalid SPICE files (different sources)
180180
with pytest.raises(
181181
ProcessingInput.ProcessingInputError,
182-
match="SpinInput can only contain spin files.",
182+
match="SpinInput can only contain spin files",
183183
):
184184
processing_input.SpinInput(
185185
"imap_1000_100_1000_100_01.spin.csv",
@@ -189,7 +189,7 @@ def test_spice_input():
189189
# Test with multiple "repoint" files (should raise an error)
190190
with pytest.raises(
191191
ProcessingInput.ProcessingInputError,
192-
match="RepointInput can only contain one repoint file.",
192+
match="RepointInput can only contain one repoint file",
193193
):
194194
processing_input.RepointInput(
195195
"imap_1000_001_02.repoint.csv",

0 commit comments

Comments
 (0)