File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2727
2828
2929- repo : https://github.com/codespell-project/codespell
30- rev : v2.3.0
30+ rev : v2.4.1
3131 hooks :
3232 - id : codespell
3333 args :
3939 - id : add-trailing-comma
4040
4141- repo : https://github.com/astral-sh/ruff-pre-commit
42- rev : v0.8.6
42+ rev : v0.9.4
4343 hooks :
4444 - id : ruff
4545 args : ["--fix", "--show-fixes"]
Original file line number Diff line number Diff line change @@ -45,10 +45,7 @@ def _open_compressed(fname: Path) -> str:
4545 loader = loaders .get (extension )
4646 if loader is None :
4747 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 } ."
5249 raise ValueError (msg )
5350
5451 if extension == ".zip" :
You can’t perform that action at this time.
0 commit comments