-
Notifications
You must be signed in to change notification settings - Fork 270
/
.pre-commit-config.yaml
50 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
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.3
hooks:
- id: actionlint
args: [-ignore, SC]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.22
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: v1.26.8
hooks:
- id: typos
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
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/biome@1.9.4']
exclude: |
(?x)^(
docs/_static/.*|
)$