-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.pre-commit-config.yaml
33 lines (33 loc) · 976 Bytes
/
.pre-commit-config.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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-ast
- id: debug-statements
- id: mixed-line-ending
# make sure notebooks are stripped of output before committing
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.0
hooks:
- id: black-jupyter
description: Black, with Jupyter Notebook support
# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: v0.1.2
# hooks:
# - id: ruff
# args: [--fix, --exit-non-zero-on-fix]
# - id: ruff-format
# - repo: https://github.com/python-jsonschema/check-jsonschema
# rev: 0.24.0
# hooks:
# - id: check-github-workflows
# - id: check-github-actions