-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (46 loc) · 1.27 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (46 loc) · 1.27 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
hooks:
- id: ruff-check
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: no-commit-to-branch
args: [--pattern, "^release/.*"]
- id: detect-private-key
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.7.21
hooks:
- id: uv-lock
- repo: https://github.com/PyCQA/flake8
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies:
[
flake8-aaa==0.17.*,
flake8-pyproject==1.2.*,
wemake-python-styleguide==1.6.*,
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
args: ["--config-file=pyproject.toml", "."]
pass_filenames: false
additional_dependencies:
- mpt-api-client==5.0.*
- pydantic==2.11.*
- rich==14.3.*
- types-openpyxl==3.1.*
- types-python-dateutil==2.9.*
- types-requests==2.31.*
- typer==0.21.*
- typing-extensions==4.13.*