-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
42 lines (42 loc) · 1.17 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: stable
hooks:
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-symlinks
- id: mixed-line-ending
- id: sort-simple-yaml
- id: requirements-txt-fixer
- id: pretty-format-json
args: [--autofix]
# - repo: https://github.com/FalconSocial/pre-commit-python-sorter
# rev: stable
# hooks:
# - id: python-import-sorter
# - repo: https://github.com/antonbabenko/pre-commit-terraform
# rev: stable
# hooks:
# - id: terraform_fmt
# - id: terraform_docs
# - repo: https://github.com/ambv/black
# rev: stable
# hooks:
# - id: black
# args: [--line-length=120]
# - repo: https://github.com/pycqa/isort
# rev: stable
# hooks:
# # https://pycqa.github.io/isort/docs/configuration/black_compatibility.html
# - id: isort
# - repo: https://gitlab.com/pycqa/flake8
# rev: stable
# hooks:
# - id: flake8
# - repo: https://github.com/PyCQA/pylint
# rev: stable
# hooks:
# - id: pylint