2021-02-27 13:25:47 +01:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-11-08 18:01:08 +01:00
|
|
|
rev: v5.0.0
|
2021-02-27 13:25:47 +01:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
name: Check YAML files
|
|
|
|
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
2023-05-05 18:49:12 +02:00
|
|
|
rev: 0.2.3
|
2021-02-27 13:25:47 +01:00
|
|
|
hooks:
|
|
|
|
- id: yamlfmt
|
|
|
|
args: [--mapping, '2', --sequence, '4', --offset, '2']
|
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
2024-03-27 17:33:39 +01:00
|
|
|
rev: v1.35.1
|
2021-02-27 13:25:47 +01:00
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
name: Lint YAML files
|
2022-08-11 04:29:59 +02:00
|
|
|
args: [--format, parsable, --strict]
|
2024-11-08 18:01:08 +01:00
|
|
|
- repo: https://github.com/DavidAnson/markdownlint-cli2
|
|
|
|
rev: v0.14.0
|
2023-03-15 16:45:06 +01:00
|
|
|
hooks:
|
2024-11-08 18:01:08 +01:00
|
|
|
- id: markdownlint-cli2
|
|
|
|
#- repo: local
|
|
|
|
# hooks:
|
|
|
|
# - id: pytest
|
|
|
|
# name: Run PyTest Case Checks
|
|
|
|
# entry: pytest
|
|
|
|
# language: system
|
|
|
|
# args: [--tb=short, -v]
|
|
|
|
# pass_filenames: false
|
|
|
|
# always_run: true
|