forked from pyro-ppl/numpyro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (33 loc) · 930 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: local
hooks:
- id: ruff
name: ruff
entry: ruff check
args: ["--fix", "--output-format=full"]
files: "(.py$)|(.*.ipynb$)"
language: system
- id: ruff-format
name: ruff-format
entry: ruff format
language: system
files: "(.py$)|(.*.ipynb$)"
- id: mypy
name: mypy
language: python
entry: mypy --install-types --non-interactive
files: ^numpyro/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: debug-statements
- id: check-yaml
- id: check-added-large-files
exclude: notebooks/
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
stages: [pre-commit, commit-msg]
args:
[--ignore-words-list, "Teh,aas", --check-filenames, --skip, "*.ipynb"]