-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
39 lines (39 loc) · 1.13 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
32
33
34
35
36
37
38
39
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: check-yaml
args: [--allow-multiple-documents]
exclude: .gitlab-ci.yml
- id: check-json
- id: check-ast
- id: requirements-txt-fixer
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.1
hooks:
- id: editorconfig-checker
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.22.0
hooks:
- id: check-dependabot
- id: check-github-actions
- id: check-github-workflows
# - repo: https://github.com/igorshubovych/markdownlint-cli
# rev: v0.33.0
# hooks:
# - id: markdownlint
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.259'
hooks:
- id: ruff