File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
# See https://pre-commit.com for more information
2
2
# See https://pre-commit.com/hooks.html for more hooks
3
- exclude : (
4
- static/img/
5
- docs/05function/_samples/indent.ipynb
6
- )
7
3
repos :
8
4
- repo : https://github.com/datarootsio/databooks
9
5
rev : 1.2.3
18
14
hooks :
19
15
- id : black
20
16
- id : black-jupyter
17
+ exclude : docs/01python/07for/_samples/sum_1to100.ipynb
21
18
- repo : https://github.com/pre-commit/mirrors-eslint
22
19
rev : v8.26.0
23
20
hooks :
@@ -43,21 +40,25 @@ repos:
43
40
rev : 1.5.3
44
41
hooks :
45
42
- id : nbqa-check-ast
43
+ exclude : docs/01python/05function/_samples/indent.ipynb
46
44
# - id: nbqa-flake8
47
45
- id : nbqa-isort
48
- - id : nbqa-mypy
46
+ # - id: nbqa-mypy
49
47
# - id: nbqa-pylint
50
48
- id : nbqa-pyupgrade
51
49
# - id: nbqa-yapf
52
50
- id : nbqa-autopep8
51
+ exclude : docs/01python/07for/_samples/sum_1to(20|100).ipynb
53
52
# - id: nbqa-pydocstyle
54
53
- repo : https://github.com/pre-commit/pre-commit-hooks
55
54
rev : v4.3.0
56
55
hooks :
57
56
- id : check-added-large-files
58
57
- id : check-json
58
+ exclude : .eslintrc.json|tsconfig.json
59
59
- id : pretty-format-json
60
60
args : [--autofix]
61
+ exclude : ^(package.json|package-lock.json|.eslintrc.json|tsconfig.json)$
61
62
- id : check-merge-conflict
62
63
- id : check-toml
63
64
- id : check-xml
67
68
args : [--allow-missing-credentials]
68
69
- id : detect-private-key
69
70
- id : end-of-file-fixer
71
+ exclude : \.svg$
70
72
- id : no-commit-to-branch
71
73
args : [--branch, main]
72
74
- id : requirements-txt-fixer
You can’t perform that action at this time.
0 commit comments