File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ repos:
2323 - id : check-added-large-files
2424
2525 - repo : https://github.com/rbubley/mirrors-prettier
26- rev : 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3
26+ rev : 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2
2727 hooks :
2828 - id : prettier
2929 files : \.(html|md|yml|yaml|toml)
3030 args : [--prose-wrap=preserve]
3131
3232 - repo : https://github.com/astral-sh/ruff-pre-commit
33- rev : 971923581912ef60a6b70dbf0c3e9a39563c9d47 # frozen: v0.11.4
33+ rev : 0b19ef1fd6ad680ed7752d6daba883ce1265a6de # frozen: v0.12.2
3434 hooks :
3535 - id : ruff
3636 args : ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
Original file line number Diff line number Diff line change @@ -88,12 +88,16 @@ ignore = [
8888 " EM101" , # Exception must not use a string literal
8989 " RET505" , # Unnecessary `elif` after `return` statement
9090 " SIM108" , # Use ternary operator
91+ " PLC0415" , # `import` should be at the top-level of a file
9192]
9293
9394[tool .ruff .lint .per-file-ignores ]
9495"tests/test_*.py" = [
9596 " ARG001" , # Pytest fixtures are passed as arguments
9697]
98+ ".spin/cmds.py" = [
99+ " PT028" , # This is not a test file but a command named test
100+ ]
97101
98102[tool .ruff .format ]
99103docstring-code-format = true
You can’t perform that action at this time.
0 commit comments