-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
35 lines (31 loc) · 951 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
# ########################################################################## #
# pre-commit hooks configuration files #
# ########################################################################## #
#
# Note: If pre-commit has been installed with pip install, you can run the
# hooks using:
# ~/.local/bin/pre-commit run --all-files
#
# See: https://pre-commit.com/
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v1.1.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
- id: flake8
exclude: >
(?x)^(
docs/conf.py
)$
- repo: git://github.com/pre-commit/mirrors-pylint
rev: v1.8.3
hooks:
- id: pylint
language: system
args: [--errors-only]
- repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle
rev: v2.1.1
hooks:
- id: pydocstyle