File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 3
3
repos :
4
4
5
5
- repo : https://github.com/asottile/pyupgrade
6
- rev : v3.18.0
6
+ rev : v3.19.1
7
7
hooks :
8
8
- id : pyupgrade
9
9
args : ["--py310-plus"]
10
10
11
11
- repo : https://github.com/astral-sh/ruff-pre-commit
12
- rev : v0.6.9
12
+ rev : v0.9.2
13
13
hooks :
14
14
- id : ruff
15
15
args : [--fix, --exit-non-zero-on-fix]
Original file line number Diff line number Diff line change @@ -40,12 +40,15 @@ def test_from_cli_with_invalid_arguments(self):
40
40
IODict (s , format = "cli" )
41
41
42
42
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
+ ),
49
52
):
50
53
s = "Lorem ipsum est in ea occaecat nisi officia."
51
54
# static method
You can’t perform that action at this time.
0 commit comments