-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (43 loc) · 1.16 KB
/
.pre-commit-config.yaml
File metadata and controls
44 lines (43 loc) · 1.16 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
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
- id: check-case-conflict
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/google/yapf
rev: v0.43.0
hooks:
- id: yapf
args: ['-i', '-m']
- repo: https://github.com/pycqa/isort
rev: 7.0.0
hooks:
- id: isort
# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: v0.14.10
# hooks:
# - id: ruff
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.20.0
hooks:
- id: markdownlint-cli2
args: [--fix]
- repo: https://github.com/netromdk/vermin
rev: v1.8.0
hooks:
- id: vermin
args: [
'--lint', '--no-make-paths-absolute', '--eval-annotations', '--backport',
'argparse', '--backport', 'typing', '--backport', 'asyncio', '--backport',
'dataclasses', '--backport', 'enum', '-t=3.9-', '--violations'
]
exclude: |
(?x)^(
src/log21/_argparse.py|
examples/.*.py
)$