-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
59 lines (52 loc) · 1.48 KB
/
.pre-commit-config.yaml
File metadata and controls
59 lines (52 loc) · 1.48 KB
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
default_stages: [pre-commit]
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
# - repo: https://github.com/christopher-hacker/enforce-notebook-run-order
# rev: 2.1.1
# hooks:
# - id: enforce-notebook-run-order
- repo: local
hooks:
- id: check-notebooks
name: check notebooks
entry: check_notebooks
additional_dependencies:
- nbformat
language: python
types: [jupyter]
exclude: tests/examples/bad.ipynb
- id: check-badges
name: check badges
entry: check_badges
additional_dependencies:
- nbformat
- pytest
- gitpython
args: [--repo-name=devops_tests]
language: python
types: [jupyter]
exclude: tests/examples/bad.ipynb
- id: notebooks-output
name: notebooks output
entry: notebooks_output
additional_dependencies:
- nbformat
language: python
types: [jupyter]
exclude: tests/examples/bad.ipynb
- id: notebooks-using-jupyter-utils
name: notebooks using open-atmos-jupyter-utils
entry: notebooks_using_jupyter_utils
additional_dependencies:
- nbformat
language: python
types: [ jupyter ]