jsonschema-rs/.pre-commit-config.yaml

36 lines
779 B
YAML
Raw Permalink Normal View History

2020-05-17 15:35:11 +00:00
default_language_version:
python: python3.11
2020-05-17 15:35:11 +00:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
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
rev: v0.19.1
2020-05-17 15:35:11 +00:00
hooks:
- id: gitlint
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
2020-05-17 15:35:11 +00:00
hooks:
- id: yamllint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
2020-05-17 15:35:11 +00:00
hooks:
- id: ruff-format
2020-05-17 15:35:11 +00:00
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
2020-05-17 15:35:11 +00:00
hooks:
- id: ruff