File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 27
27
28
28
29
29
- repo : https://github.com/codespell-project/codespell
30
- rev : v2.3.0
30
+ rev : v2.4.1
31
31
hooks :
32
32
- id : codespell
33
33
args :
39
39
- id : add-trailing-comma
40
40
41
41
- repo : https://github.com/astral-sh/ruff-pre-commit
42
- rev : v0.8.6
42
+ rev : v0.9.4
43
43
hooks :
44
44
- id : ruff
45
45
args : ["--fix", "--show-fixes"]
Original file line number Diff line number Diff line change @@ -45,10 +45,7 @@ def _open_compressed(fname: Path) -> str:
45
45
loader = loaders .get (extension )
46
46
if loader is None :
47
47
valid = ", " .join (loaders .keys ())
48
- msg = (
49
- "Unrecognized file extension. "
50
- f"Expected { valid } , got { extension } ."
51
- )
48
+ msg = f"Unrecognized file extension. Expected { valid } , got { extension } ."
52
49
raise ValueError (msg )
53
50
54
51
if extension == ".zip" :
You can’t perform that action at this time.
0 commit comments