mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
ruff --exit-non-zero-on-fix
This commit is contained in:
parent
58375a7398
commit
91de0075c4
1 changed files with 2 additions and 1 deletions
|
|
@ -13,11 +13,12 @@ repos:
|
|||
- id: end-of-file-fixer
|
||||
- id: forbid-new-submodules
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.1.15
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: ["--fix"]
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
- id: ruff-format
|
||||
|
||||
exclude: ^pelican/tests/output/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue