2020-05-17 15:35:11 +00:00
|
|
|
default_language_version:
|
2024-04-14 15:25:13 +00:00
|
|
|
python: python3.11
|
2020-05-17 15:35:11 +00:00
|
|
|
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-04-14 15:25:13 +00:00
|
|
|
rev: v4.6.0
|
2020-05-17 15:35:11 +00:00
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
exclude: ^.*\.(md|rst)$
|
|
|
|
- id: debug-statements
|
|
|
|
- id: mixed-line-ending
|
|
|
|
args: [--fix=lf]
|
|
|
|
- id: check-merge-conflict
|
|
|
|
|
|
|
|
- repo: https://github.com/jorisroovers/gitlint
|
2024-04-14 15:25:13 +00:00
|
|
|
rev: v0.19.1
|
2020-05-17 15:35:11 +00:00
|
|
|
hooks:
|
|
|
|
- id: gitlint
|
|
|
|
|
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
2024-04-14 15:25:13 +00:00
|
|
|
rev: v1.35.1
|
2020-05-17 15:35:11 +00:00
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
|
2024-04-14 15:25:13 +00:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
|
|
rev: v0.3.7
|
2020-05-17 15:35:11 +00:00
|
|
|
hooks:
|
2024-04-14 15:25:13 +00:00
|
|
|
- id: ruff-format
|
2020-05-17 15:35:11 +00:00
|
|
|
|
2024-04-14 15:25:13 +00:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
|
|
rev: v0.3.7
|
2020-05-17 15:35:11 +00:00
|
|
|
hooks:
|
2024-04-14 15:25:13 +00:00
|
|
|
- id: ruff
|