-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (45 loc) · 1.34 KB
/
.pre-commit-config.yaml
File metadata and controls
51 lines (45 loc) · 1.34 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
48
49
50
51
ci:
autofix_prs: false
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
additional_dependencies:
- tomli
exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md)
- repo: https://github.com/numpy/numpydoc
rev: v1.10.0
hooks:
- id: numpydoc-validation
exclude: (tests|docs)/.*
- repo: https://github.com/stefmolin/docstringify
rev: 1decb1a66b512ab792fdc0d190a7ba761b3d70fd
hooks:
- id: docstringify-edit
name: docstringify source code with numpydoc style
args: [--overwrite, --style=numpydoc]
files: src/.*
- id: docstringify-edit
name: docstringify tests with stubs
args: [--overwrite, --style=stub]
files: tests/.*
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.1
hooks:
- id: pyproject-fmt
args: [--keep-full-version, --no-print-diff]