-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
39 lines (37 loc) · 1.07 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: v3.1.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-merge-conflict
- id: detect-private-key
- id: end-of-file-fixer
- repo: https://github.com/amperser/proselint/
rev: 0.10.2
hooks:
- id: proselint
exclude: LICENSE|requirements
files: \.(md|mdown|markdown)$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.23.2
hooks:
- id: markdownlint
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.1.3
hooks:
- id: python-safety-dependencies-check
- repo: https://github.com/jazzband/pip-tools
rev: 6.1.0
hooks:
- name: Build requirements.txt
id: pip-compile
args: ['-Ur', 'requirements.in', '--allow-unsafe']
- name: Build requirements-dev.txt
id: pip-compile
args: ['-Ur', 'requirements-dev.in', '--allow-unsafe']
- repo: https://github.com/adrienverge/yamllint
rev: v1.21.0
hooks:
- id: yamllint