forked from dynaconf/dynaconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (45 loc) · 1.31 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
exclude: docs
repos:
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.4.0
hooks:
- id: reorder-python-imports
language_version: python3
args: [--py3-plus]
exclude: ^dynaconf/vendor
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
args: [--line-length=79]
language_version: python3
exclude: ^dynaconf/vendor
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
language_version: python3
exclude: ^dynaconf/vendor
- id: end-of-file-fixer
language_version: python3
exclude: ^dynaconf/vendor
- id: check-yaml
language_version: python3
exclude: ^dynaconf/vendor
- id: check-merge-conflict
language_version: python3
exclude: ^dynaconf/vendor
- id: debug-statements
language_version: python3
exclude: ^dynaconf/vendor
- id: fix-encoding-pragma
language_version: python3
exclude: ^dynaconf/vendor
args: [--remove]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.0
hooks:
- id: flake8
args: ['--ignore=F403,W504,W503,F841,E401,F401,E402']
language_version: python3
exclude: ^dynaconf/vendor