-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
57 lines (55 loc) · 1.59 KB
/
.pre-commit-config.yaml
File metadata and controls
57 lines (55 loc) · 1.59 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
- id: check-toml
- id: check-yaml
- id: debug-statements
exclude: '^(src/aedifix/main.py|src/aedifix/templates/.*)$' # intentional
- id: end-of-file-fixer
- id: pretty-format-json
args: ['--autofix', '--indent=4']
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: ["--toml=./pyproject.toml", "--write-changes"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.4
hooks:
- id: ruff-format
- id: ruff
args: ["--config=./pyproject.toml", "--fix"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.15.0'
hooks:
- id: mypy
pass_filenames: false
args: ['src', 'tests']
additional_dependencies: [pytest, rich]
- repo: https://github.com/netromdk/vermin
rev: 'v1.6.0'
hooks:
- id: vermin
args: ['--config-file', './setup.cfg']
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.400
hooks:
- id: pyright
pass_filenames: false
args: ['src', 'tests']
additional_dependencies: [pytest, rich]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
types: [yaml]
files: ^\.github/workflows/
entry: env SHELLCHECK_OPTS="--enable=all --severity=style" actionlint
ci:
autoupdate_schedule: quarterly
default_language_version:
python: python3