core: added ruff check/format configs

This commit is contained in:
RhodeCode Admin 2025-01-13 17:46:24 +01:00
parent bf83236cf8
commit 7130effb58
3 changed files with 14 additions and 2 deletions

View file

@ -5,6 +5,6 @@ repos:
hooks:
# Run the linter.
- id: ruff
args: [ "--ignore=F401", "--ignore=I001", "--ignore=E402", "--ignore=E501", "--ignore=F841" ]
args: [ "--ignore=F401", "--ignore=I001", "--ignore=E402", "--ignore=E501", "--ignore=F841", "--ignore=F405" ]
# Run the formatter.
- id: ruff-format