-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
46 lines (46 loc) · 1.17 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
43
44
45
46
# yamllint disable rule:document-start
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/ambv/black
rev: 18.9b0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/pmacosta/pre-commit-hooks
rev: v1.4.9
hooks:
- id: header
- id: identity
args: [--author-file=./AUTHORS.rst]
- id: pylint_codes
- id: pydocstyle_wrapper
args: [--config=./.pydocstyle]
- id: spelling
args: [-p ./data/whitelist.en.pws, --exclude=./data/exclude-spelling]
- repo: local
hooks:
- id: pylint
name: pylint
entry: python3 -m pylint.__main__
language: system
types: [python]
args: [--reports=n, --score=n, --rcfile=./.pylintrc]
additional_dependencies: ['pylint']