File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
- id : sort-simple-yaml
21
21
- id : trailing-whitespace
22
22
- repo : https://github.com/astral-sh/ruff-pre-commit
23
- rev : ' v0.7.2 '
23
+ rev : ' v0.7.4 '
24
24
hooks :
25
25
- id : ruff
26
26
args : [--fix, --exit-non-zero-on-fix]
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def open(
47
47
oid = obj if isinstance (obj , str ) else obj .oid
48
48
path = self .oid_to_path (oid )
49
49
try :
50
- return open (path , ** kwargs ) # noqa: SIM115
50
+ return open (path , ** kwargs )
51
51
except FileNotFoundError :
52
52
if not fetch_url or not isinstance (obj , Pointer ):
53
53
raise
@@ -57,7 +57,7 @@ def open(
57
57
raise FileNotFoundError (
58
58
errno .ENOENT , os .strerror (errno .ENOENT ), path
59
59
) from exc
60
- return open (path , ** kwargs ) # noqa: SIM115
60
+ return open (path , ** kwargs )
61
61
62
62
def close (self ):
63
63
pass
You can’t perform that action at this time.
0 commit comments