2024-01-09 22:12:25 +01:00
|
|
|
colors: true
|
|
|
|
no_tty: false
|
|
|
|
|
|
|
|
pre-commit:
|
2024-02-20 08:34:56 +01:00
|
|
|
commands:
|
|
|
|
01_ruff_check:
|
2024-01-09 22:12:25 +01:00
|
|
|
stage_fixed: true
|
2024-02-20 08:34:56 +01:00
|
|
|
glob: "*.py"
|
|
|
|
run: ruff check --fix-only --exit-zero --silent {all_files}
|
|
|
|
|
|
|
|
02_ruff_format:
|
|
|
|
stage_fixed: true
|
|
|
|
glob: "*.py"
|
|
|
|
run: ruff format {all_files}
|