-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
31 lines (31 loc) · 1 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-added-large-files
- id: trailing-whitespace
exclude: \.svg$
- id: mixed-line-ending
args: ["--fix=lf"]
description: Forces to replace line ending by the UNIX 'lf' character
exclude: \.svg$
- id: check-yaml
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python.git
rev: 2.7.3
hooks:
- id: editorconfig-checker
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.37.0
hooks:
- id: markdownlint
args: [ "--fix", "--config", ".markdownlint.json" ]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.0
hooks:
- id: check-github-workflows
- id: check-github-actions