-
Notifications
You must be signed in to change notification settings - Fork 279
/
.pre-commit-config.yaml
50 lines (43 loc) · 1.18 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
48
49
50
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
hooks:
- id: actionlint
args: [-ignore, SC]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.23
hooks:
- id: validate-pyproject
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
- id: markdownlint-fix
args: [-c, configs/.markdownlint.yaml, --fix, --disable, MD028]
exclude: ^marimo/_tutorials/.*\.md
- repo: https://github.com/crate-ci/typos
rev: typos-dict-v0.11.35
hooks:
- id: typos
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
hooks:
# Run the linter
- id: ruff
args: [--fix]
# Run the formatter
- id: ruff-format
- repo: https://github.com/biomejs/pre-commit
rev: v0.5.0
hooks:
- id: biome-check
args: [--config-path, biome.json, --diagnostic-level, warn]
additional_dependencies: ['@biomejs/[email protected]']
exclude: |
(?x)^(
docs/_static/.*|
)$