forked from scribe-org/Scribe-Data
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (37 loc) · 1.02 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
43 lines (37 loc) · 1.02 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
# - id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.5
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/numpy/numpydoc
rev: v1.8.0
hooks:
- id: numpydoc-validation
files: ^src/
exclude: ^(tests/|.*__init__\.py$)
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
- repo: https://github.com/tcort/markdown-link-check
rev: v3.14.1
hooks:
- id: markdown-link-check
args: [-q]
- repo: https://github.com/to-sta/spdx-checker-pre-commit
rev: 0.1.5
hooks:
- id: spdx-license-checker
name: run spdx-checker license check
exclude: ^(?:.*/)?__init__\.py$
args: [-l, GPL-3.0-or-later]
types_or: [python]