-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
47 lines (47 loc) · 1.29 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
44
45
46
47
default_language_version:
python: python3
repos:
- repo: https://github.com/ambv/black
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
hooks:
- id: nbstripout
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
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.9.3
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"]