Skip to content

Commit fe0631a

Browse files
committed
Bump pre-commit hooks.
1 parent db8ccd8 commit fe0631a

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
repos:
44

55
- repo: https://github.com/asottile/pyupgrade
6-
rev: v3.18.0
6+
rev: v3.19.1
77
hooks:
88
- id: pyupgrade
99
args: ["--py310-plus"]
1010

1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.6.9
12+
rev: v0.9.2
1313
hooks:
1414
- id: ruff
1515
args: [--fix, --exit-non-zero-on-fix]

tests/dicts/io/test_io_dict_cli.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,15 @@ def test_from_cli_with_invalid_arguments(self):
4040
IODict(s, format="cli")
4141

4242
def test_from_cli_with_invalid_data(self):
43-
with patch(
44-
"sys.stdout",
45-
new_callable=StringIO,
46-
), patch(
47-
"sys.stderr",
48-
new_callable=StringIO,
43+
with (
44+
patch(
45+
"sys.stdout",
46+
new_callable=StringIO,
47+
),
48+
patch(
49+
"sys.stderr",
50+
new_callable=StringIO,
51+
),
4952
):
5053
s = "Lorem ipsum est in ea occaecat nisi officia."
5154
# static method

0 commit comments

Comments
 (0)