Add --show-diff-on-failure to ruff args in pre-commit config.
This commit is contained in:
@@ -16,7 +16,7 @@ repos:
|
||||
- id: ruff-format
|
||||
exclude: ^lightrag/api/webui/
|
||||
- id: ruff
|
||||
args: [--fix, --ignore=E402]
|
||||
args: [--fix, --ignore=E402 --show-diff-on-failure]
|
||||
exclude: ^lightrag/api/webui/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user