-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (42 loc) · 1.07 KB
/
.pre-commit-config.yaml
File metadata and controls
46 lines (42 loc) · 1.07 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
# Pre-commit configuration for linting Python files
# Install: pip install pre-commit && pre-commit install
# Run manually: pre-commit run --all-files
# Update versions: pre-commit autoupdate
repos:
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args:
- --profile=black
- --line-length=100
- --lines-after-imports=2
- repo: https://github.com/psf/black
rev: 25.9.0
hooks:
- id: black
args:
- --target-version=py310
- --line-length=100
- repo: https://github.com/pycqa/pylint
rev: v4.0.1
hooks:
- id: pylint
args:
- --rcfile=_linters/pylintrc
- --reports=n
- --score=n
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
args:
- --follow-imports=silent
- --config-file=_linters/mypy.ini
additional_dependencies:
- mcp
- requests
- rich
- types-pexpect
- types-requests
- uvicorn