forked from lyz-code/blue-book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
36 lines (35 loc) · 1.01 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
---
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|newsletter
# files: \.(md|mdown|markdown)$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.27.1
hooks:
- id: markdownlint
args: ['--ignore', 'docs/newsletter/']
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.2.1
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']
#- repo: https://github.com/adrienverge/yamllint
# rev: v1.21.0
# hooks:
# - id: yamllint