-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (38 loc) · 1002 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
34
35
36
37
38
repos:
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.0
hooks:
- id: blacken-docs
additional_dependencies: [black==21.12b0]
args: ["-l 79"]
exclude: index.umd.js
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
language_version: python3
args: ["-l 79"]
exclude: index.umd.js
- repo: local
hooks:
- id: pylint
name: pylint
language: system
files: \.py$
entry: pylint
args: ["--errors-only"]
exclude: index.umd.js
- repo: local
hooks:
- id: ipynb-strip
name: ipynb-strip
language: system
files: \.ipynb$
entry: jupyter nbconvert --clear-output --ClearOutputPreprocessor.enabled=True
args: ["--log-level=ERROR"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
hooks:
- id: prettier
exclude: index.umd.js
language_version: system