-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
47 lines (47 loc) · 1.58 KB
/
.pre-commit-config.yaml
File metadata and controls
47 lines (47 loc) · 1.58 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
stages: [pre-commit]
- id: check-json
stages: [pre-commit]
exclude: ^\.devcontainer/devcontainer\.json$
- id: check-toml
stages: [pre-commit]
- id: check-merge-conflict
stages: [pre-commit]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: [--toml, pyproject.toml, --ignore-words=.codespell-ignore.txt]
exclude: (sql-workshops/sql-introduction/data/|commandline-workshops/shell-introduction/data/exercise-data/writing/|commandline-workshops/shell-introduction/filesystem/Users/nelle/data/|styles|\.devcontainer|\.quarto|\.venv|\.vscode|_site|_freeze|\.svg$|\.xml$|\.pdb$|\.lock$)
additional_dependencies:
- tomli
- repo: https://github.com/google/yamlfmt
rev: v0.20.0
hooks:
- id: yamlfmt
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
hooks:
- id: validate-pyproject
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.20.0
hooks:
- id: markdownlint-cli2
exclude: ^\.claude/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff-format
types_or: [python, pyi, jupyter]
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
types_or: [python, pyi, jupyter]
require_serial: true
- repo: https://github.com/rhysd/actionlint
rev: v1.7.9
hooks:
- id: actionlint