forked from learningequality/kolibri-installer-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (36 loc) · 1.24 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (36 loc) · 1.24 KB
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
repos:
- repo: https://github.com/python/black
rev: 22.3.0
hooks:
- id: black
types_or: [ python, pyi ]
exclude: '^.+?\.template$'
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
exclude: '^.+?\.template$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude: '^.+?(\.template|\.patch)$'
- id: check-yaml
exclude: '^.+?\.template$'
- id: check-added-large-files
exclude: '^.+?\.template$'
- id: debug-statements
exclude: '^.+?\.template$'
- id: end-of-file-fixer
exclude: '^.+?(\.json|\.template|\.patch)$'
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.10.0
hooks:
- id: pretty-format-java
args: [--autofix, --aosp]
- id: pretty-format-kotlin
args: [--autofix]