forked from ManageIQ/integration_tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (33 loc) · 903 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
exclude: ^(data|sprout)/
substitutions:
- &exclude
exclude: ^(cfme|scripts) # for now disable - we shall gradually reenable it
repos:
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.6.1
hooks:
- id: reorder-python-imports
- repo: https://github.com/ambv/black
rev: 19.3b0
hooks:
- id: black
args: [--safe, --line-length, '100']
language_version: python3.7
<<: *exclude
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
exclude: ^(sprout|scripts|cfme/fixtures/rdb.py)
- id: flake8
language_version: python3.7
additional_dependencies: [polarion-docstrings, bugzilla-docstrings]
- repo: https://github.com/asottile/pyupgrade
rev: v1.23.0
hooks:
- id: pyupgrade
language_version: python3.7
<<: *exclude