forked from Yelp/pgctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
39 lines (39 loc) · 1.09 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
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1
hooks:
- id: autopep8-wrapper
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: detect-private-key
exclude: ^\.activate\.sh$
- id: double-quote-string-fixer
- id: end-of-file-fixer
exclude: ^\.activate\.sh$
- id: flake8
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: git://github.com/asottile/reorder_python_imports
sha: v0.3.5
hooks:
- id: reorder-python-imports
args:
- --add-import
- from __future__ import absolute_import
- --add-import
- from __future__ import unicode_literals
- repo: local
hooks:
- id: system
name: PyLint
entry: python -m pylint.__main__
language: system
files: \.py$
- repo: https://github.com/asottile/pyupgrade
sha: v1.0.4
hooks:
- id: pyupgrade
language_version: python2.7