2024-08-25 11:45:36 +02:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.6.0
|
|
|
|
hooks:
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-json
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-yaml
|
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
|
|
rev: v1.35.1
|
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
args:
|
|
|
|
- -s
|
2024-09-11 14:24:13 +02:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
|
|
rev: v0.6.1
|
|
|
|
hooks:
|
|
|
|
- id: ruff
|
|
|
|
args:
|
|
|
|
- --output-format=full
|
|
|
|
exclude: ^source/tools/webservices/
|
|
|
|
- id: ruff-format
|
|
|
|
args:
|
|
|
|
- --check
|
|
|
|
- --target-version
|
|
|
|
- py311
|