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

38 lines
836 B
YAML
Raw Normal View History

2020-05-17 15:35:11 +00:00
default_language_version:
python: python3.9
2020-05-17 15:35:11 +00:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-04-01 07:38:49 +00:00
rev: v4.1.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
2022-04-01 07:38:49 +00:00
rev: v0.17.0
2020-05-17 15:35:11 +00:00
hooks:
- id: gitlint
- repo: https://github.com/adrienverge/yamllint
2022-04-01 07:38:49 +00:00
rev: v1.26.3
2020-05-17 15:35:11 +00:00
hooks:
- id: yamllint
- repo: https://github.com/ambv/black
2022-04-01 07:38:49 +00:00
rev: 22.3.0
2020-05-17 15:35:11 +00:00
hooks:
- id: black
types: [python]
- repo: https://github.com/pre-commit/mirrors-isort
2022-04-01 07:38:49 +00:00
rev: v5.10.1
2020-05-17 15:35:11 +00:00
hooks:
- id: isort
additional_dependencies: ["isort[pyproject]"]