forked from anyant/rssant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (32 loc) · 909 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
32 lines (32 loc) · 909 Bytes
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
exclude: '^(data/|unmaintain/|static/|tests/feedlib/testdata/)'
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
files: \.(py|pyx|sh|txt|in|ini|json|yaml|yml)$
- id: end-of-file-fixer
files: \.(py|pyx|sh|md|txt|in|ini|json|yaml|yml)$
- id: check-byte-order-marker
files: \.(py|pyx)$
- id: check-case-conflict
- id: check-added-large-files
args:
- '--maxkb=2000'
- id: check-merge-conflict
- id: check-symlinks
- id: check-json
- id: check-yaml
- id: debug-statements
- id: check-docstring-first
files: \.(py|pyx)$
- id: fix-encoding-pragma
files: \.(py|pyx)$
args:
- '--remove'
- id: flake8
exclude: '^rssant_api/migrations/'
- repo: https://github.com/Trim21/find-trailing-comma
rev: v0.0.1
hooks:
- id: find-trailing-comma