-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (37 loc) · 1.02 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
40
41
42
fail_fast: false
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.1.1
hooks:
- id: autopep8-wrapper
- id: check-ast
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-symlinks
- id: debug-statements
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: flake8
args: ['--max-line-length=120', '--exclude=spequation*.py']
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
sha: v1.2.0
hooks:
- id: pyupgrade
- repo: https://github.com/asottile/add-trailing-comma
sha: v0.6.4
hooks:
- id: add-trailing-comma
- repo: git://github.com/Lucas-C/pre-commit-hooks
sha: v1.1.4
hooks:
- id: forbid-crlf
- id: forbid-tabs
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
sha: v1.1.0
hooks:
- id: python-safety-dependencies-check