-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (34 loc) · 1.05 KB
/
.pre-commit-config.yaml
File metadata and controls
35 lines (34 loc) · 1.05 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
default_language_version:
python: python3.11
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
- id: double-quote-string-fixer
# Python-specific hooks
- repo: https://github.com/google/yapf
rev: v0.40.2
hooks:
- id: yapf
args: ['-i', '-m']
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/PyCQA/docformatter
rev: 06907d0
hooks:
- id: docformatter
args: [-i, -d, --config, pyproject.toml]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.7
hooks:
- id: ruff
- repo: https://github.com/netromdk/vermin
rev: v1.6.0
hooks:
- id: vermin
args: ['--lint', '--no-make-paths-absolute', '--eval-annotations', '--backport', 'argparse', '--backport', 'typing', '--backport', 'asyncio', '--backport', 'dataclasses', '--backport', 'enum', '-t=3.11-', '--violations', '--no-tips']