File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1818 - id : trailing-whitespace
1919
2020 - repo : https://github.com/astral-sh/ruff-pre-commit
21- rev : " v0.11.13 "
21+ rev : " v0.12.2 "
2222 hooks :
2323 - id : ruff
2424 args : ["--fix", "--show-fixes"]
@@ -38,14 +38,14 @@ repos:
3838 args : ["--skip=CODE_OF_CONDUCT.md"]
3939
4040 - repo : https://github.com/rbubley/mirrors-prettier
41- rev : " v3.5.3 "
41+ rev : " v3.6.2 "
4242 hooks :
4343 - id : prettier
4444 files : \.(html|md|toml|yml|yaml)
4545 args : [--prose-wrap=preserve]
4646
4747 - repo : https://github.com/woodruffw/zizmor-pre-commit
48- rev : " v1.9 .0"
48+ rev : " v1.11 .0"
4949 hooks :
5050 - id : zizmor
5151 args : ["--pedantic"]
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def __call():
6363 if sysplatform == "win32" :
6464 from subprocess import check_call
6565
66- check_call ([HUGO_EXECUTABLE ] + sysargv [1 :])
66+ check_call ([HUGO_EXECUTABLE , * sysargv [1 :] ])
6767 else :
68- os .execv (HUGO_EXECUTABLE , ["hugo" ] + sysargv [1 :])
68+ os .execv (HUGO_EXECUTABLE , ["hugo" , * sysargv [1 :] ])
6969
7070
7171if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ lint.ignore = [
8282 " PLR09" , # Too many <...>
8383 " PLR2004" , # Magic value used in comparison
8484 " ISC001" , # Conflicts with formatter
85+ " PLC0415" , # Import should be at the top-level of a file
8586]
8687
8788[tool .ruff .lint .per-file-ignores ]
You can’t perform that action at this time.
0 commit comments