-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
.pre-commit-hooks.yaml
88 lines (88 loc) · 2.29 KB
/
.pre-commit-hooks.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
- id: nbqa
name: nbqa
description: Run any standard Python code quality tool on a Jupyter Notebook
entry: nbqa
language: python
require_serial: true
types: [jupyter]
- id: nbqa-black
name: nbqa-black
description: Run 'black' on a Jupyter Notebook
entry: nbqa black
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [black]
- id: nbqa-check-ast
name: nbqa-check-ast
description: Run 'check-ast' on a Jupyter Notebook
entry: nbqa pre_commit_hooks.check_ast
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [pre-commit-hooks]
args: [--nbqa-dont-skip-bad-cells]
- id: nbqa-flake8
name: nbqa-flake8
description: Run 'flake8' on a Jupyter Notebook
entry: nbqa flake8
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [flake8]
- id: nbqa-isort
name: nbqa-isort
description: Run 'isort' on a Jupyter Notebook
entry: nbqa isort
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [isort]
- id: nbqa-mypy
name: nbqa-mypy
description: Run 'mypy' on a Jupyter Notebook
entry: nbqa mypy
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [mypy]
- id: nbqa-pylint
name: nbqa-pylint
description: Run 'pylint' on a Jupyter Notebook
entry: nbqa pylint
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [pylint]
- id: nbqa-pyupgrade
name: nbqa-pyupgrade
description: Run 'pyupgrade' on a Jupyter Notebook
entry: nbqa pyupgrade
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [pyupgrade]
- id: nbqa-yapf
name: nbqa-yapf
description: Run 'yapf' on a Jupyter Notebook
entry: nbqa yapf --in-place
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [yapf]
- id: nbqa-autopep8
name: nbqa-autopep8
description: Run 'autopep8' on a Jupyter Notebook
entry: nbqa autopep8 -i
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [autopep8]
- id: nbqa-pydocstyle
name: nbqa-pydocstyle
description: Run 'pydocstyle' on a Jupyter Notebook
entry: nbqa pydocstyle
language: python
require_serial: true
types: [jupyter]
additional_dependencies: [pydocstyle]