forked from ManageIQ/integration_tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
40 lines (39 loc) · 988 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
36
37
38
39
40
exclude: ^(data|sprout)/
substitutions:
- &exclude
exclude: '.*' # for now disable - we shal gradually reenable it
repos:
# disabled due to a bug
# - repo: https://github.com/asottile/seed-isort-config
# rev: v1.2.0
# hooks:
# - id: seed-isort-config
# args: [--exclude, data/.*]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.4
hooks:
- id: isort
<<: *exclude
- repo: https://github.com/ambv/black
rev: 18.6b4
hooks:
- id: black
args: [--safe, --quiet]
language_version: python3.6
exclude: '.*' # for now disable - we shal gradually reenable it
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: data
- id: debug-statements
exclude: ^(sprout|scripts|cfme/fixtures/rdb.py)
- id: flake8
<<: *exclude
- repo: https://github.com/asottile/pyupgrade
rev: v1.4.0
hooks:
- id: pyupgrade
<<: *exclude