-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
43 lines (43 loc) · 1.17 KB
/
.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
39
40
41
42
43
default_language_version:
python: python3
repos:
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
hooks:
- id: prettier
exclude: "packages/app/public/.*|packages/jupyter_app_base/dist/.*|packages/app/build/.*|pyrightconfig.json"
pass_filenames: true
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.261
hooks:
- id: ruff
- repo: "local"
hooks:
- entry: tsc --noEmit
id: "tsc"
name: "tsc"
language: node
pass_filenames: false
types_or: [ts, tsx]
args: []
require_serial: false
additional_dependencies: ["typescript@~4.1.3"]
minimum_pre_commit_version: "0"
exclude: "packages/app/public/.*|packages/app/build/.*"
- repo: local
hooks:
- entry: pyright
id: "pyright"
name: "pyright"
types_or: [python]
language: node
pass_filenames: true
additional_dependencies: ["pyright"]