-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
56 lines (51 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
55
56
repos:
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.2.2
hooks:
- id: nbqa-black
args: [--nbqa-mutate]
additional_dependencies: [black==20.8b1]
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: detect-private-key
- id: check-added-large-files
exclude: components-mnist/mnist-train/tests/datasets
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: detect-private-key
- id: forbid-new-submodules
- id: trailing-whitespace
- id: check-yaml
- id: check-xml
- id: check-json
exclude: .vscode
- id: check-ast
- id: name-tests-test
exclude: components-mnist/mnist-train/tests/helpers
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.1
hooks:
- id: shellcheck
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.17
hooks:
- id: circleci-config-validate
- id: forbid-binary
exclude: components-mnist/mnist-train/tests/datasets
- repo: https://github.com/psf/black
rev: 21.11b1
hooks:
- id: black
# language_version: python3.9
- repo: https://github.com/kynan/nbstripout
rev: 0.5.0
hooks:
- id: nbstripout
files: ".ipynb"
- repo: https://gitlab.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
# language_version: python3.9
language: system