-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.pre-commit-config.yaml
37 lines (37 loc) · 953 Bytes
/
.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
---
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
hooks:
- id: check-ast
- id: check-symlinks
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-json
- id: check-yaml
- id: detect-private-key
- id: double-quote-string-fixer
- id: trailing-whitespace
- id: no-commit-to-branch # No (direct) commits to master
- repo: https://github.com/asottile/add-trailing-comma
rev: v1.0.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.18
hooks:
- id: isort
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: forbid-crlf
files: \.md$
- id: remove-crlf
files: \.md$
- repo: local
hooks:
- id: lint
name: tox lint
entry: tox -e lint
language: system