forked from probabl-ai/skore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
83 lines (75 loc) · 1.93 KB
/
.pre-commit-config.yaml
File metadata and controls
83 lines (75 loc) · 1.93 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- id: check-merge-conflict
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: v1.42.3
hooks:
- id: typos
- repo: https://github.com/kynan/nbstripout
rev: 0.9.0
hooks:
- id: nbstripout
args: [--keep-id]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.14
hooks:
- id: ruff-check
files: ^((skore|skore-hub-project|skore-local-project)/(hatch|src|tests))|(examples)/
args: [--fix, --extend-select, I]
- id: ruff-format
files: ^((skore|skore-hub-project|skore-local-project)/(hatch|src|tests))|(examples)/
- repo: local
hooks:
- id: ty
alias: ty-skore
name: ty skore/
entry: ty check --project skore skore
language: python
pass_filenames: false
additional_dependencies:
- ty
- IPython
- anywidget
- ipywidgets
- joblib
- matplotlib
- numpy
- pandas
- plotly
- rich
- scikit-learn
- skrub
- seaborn
- polars
- pyarrow
- id: ty
alias: ty-skore-hub-project
name: ty skore-hub-project/
entry: ty check --project skore-hub-project skore-hub-project
language: python
pass_filenames: false
additional_dependencies:
- ty
- skore
- blake3
- httpx
- orjson
- pandas-stubs
- pydantic
- id: ty
alias: ty-skore-local-project
name: ty skore-local-project/
entry: ty check --project skore-local-project skore-local-project
language: python
pass_filenames: false
additional_dependencies:
- ty
- skore