forked from PovertyAction/ipa-data-tech-handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
38 lines (34 loc) · 954 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
stages: [commit]
- id: check-json
stages: [commit]
exclude: ^\.devcontainer/devcontainer\.json$
- id: check-toml
stages: [commit]
- id: check-merge-conflict
stages: [commit]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.18
hooks:
- id: validate-pyproject
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
hooks:
- id: markdownlint-fix
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
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/crate-ci/typos
rev: v1.23.6
hooks:
- id: typos