-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.pre-commit-hooks.yaml
112 lines (112 loc) · 3.14 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
- id: nbqa
name: nbqa
description: Run any standard Python code quality tool on a Jupyter Notebook
entry: nbqa
language: python
require_serial: true
types_or: [jupyter, markdown]
- id: nbqa-black
name: nbqa-black
description: Run 'black' on a Jupyter Notebook
entry: nbqa black
language: python
require_serial: true
types_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
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_or: [jupyter, markdown]
additional_dependencies: [pydocstyle]
- id: nbqa-ruff
name: nbqa-ruff
description: Run 'ruff check' on a Jupyter Notebook # for backwards compatiblity
entry: nbqa "ruff check"
language: python
additional_dependencies: [ruff]
require_serial: true
types_or: [jupyter, markdown]
- id: nbqa-ruff-check
name: nbqa-ruff-check
description: Run 'ruff check' on a Jupyter Notebook
entry: nbqa "ruff check"
language: python
additional_dependencies: [ruff]
require_serial: true
types_or: [jupyter, markdown]
- id: nbqa-ruff-format
name: nbqa-ruff-format
description: Run 'ruff format' on a Jupyter Notebook
entry: nbqa "ruff format"
language: python
additional_dependencies: [ruff]
require_serial: true
types_or: [jupyter, markdown]