-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
59 lines (52 loc) · 1.43 KB
/
.pre-commit-config.yaml
File metadata and controls
59 lines (52 loc) · 1.43 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
52
53
54
55
56
57
58
59
---
default_language_version:
python: python3.12
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-toml
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: debug-statements
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-merge-conflict
- id: fix-byte-order-marker
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
hooks:
- id: check-github-workflows
args: ["--verbose"]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: ["--write-changes", "--skip=pdm.lock"]
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.4.1"
hooks:
- id: tox-ini-fmt
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.10.0"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.14.1"]
- repo: local
hooks:
- id: export-supported-packages-to-readme
name: db_md
entry: python scripts/db_md.py
language: python
verbose: true
files: ^db\.py|README\.md$
- rev: v0.15.0
repo: https://github.com/astral-sh/ruff-pre-commit
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pdm-project/pdm
rev: 2.26.6
hooks:
- id: pdm-lock-check