forked from ComPWA/policy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-hooks.yaml
49 lines (44 loc) · 1.12 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
- id: check-dev-files
name: Check developer config files in the repository
entry: check-dev-files
language: python
always_run: true
pass_filenames: false
- id: colab-toc-visible
name: Show the TOC sidebar in Google Colab by default
entry: colab-toc-visible
language: python
types:
- jupyter
- id: fix-nbformat-version
name: Set nbformat minor version to 4 and remove cell IDs
entry: fix-nbformat-version
language: python
types:
- jupyter
- id: remove-empty-tags
name: Remove empty tags metadata field from Jupyter notebooks
description: >
Remove the tags metadata field from Jupyter notebooks if there are no tags
entry: remove-empty-tags
language: python
types:
- jupyter
- id: set-nb-cells
name: Add or update default cells in a Jupyter notebook
description: >
Add or replace certain default cells in a Jupyter notebook.
entry: set-nb-cells
exclude: >
(?x)^(
docs/adr/.*
)$
language: python
types:
- jupyter
- id: set-nb-display-name
name: Revert display name of the notebook kernel
entry: set-nb-display-name
language: python
types:
- jupyter