-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprek.toml
More file actions
65 lines (61 loc) · 1.37 KB
/
Copy pathprek.toml
File metadata and controls
65 lines (61 loc) · 1.37 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
58
59
60
61
62
63
64
65
[[repos]]
repo = "builtin"
hooks = [
{ id = "check-yaml" },
{ id = "trailing-whitespace" },
{ id = "check-toml" },
{ id = "check-merge-conflict" },
{ id = "end-of-file-fixer" },
{ id = "check-added-large-files" },
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.15.0"
hooks = [
{ id = "ruff", args = [
"--output-format=concise",
], name = "format with ruff" },
{ id = "ruff-format", name = "lint with ruff" },
]
[[repos]]
repo = "https://github.com/pre-commit/mirrors-mypy"
rev = "v1.19.1"
hooks = [
{ id = "mypy", name = "run mypy", additional_dependencies = [
"fastapi",
"httpx",
"pydantic",
"pyperclip",
"pytest",
"pytest-mock",
"pwdlib",
"pyjwt",
"rich",
"simple-toml-settings",
"sqliter-py",
"textual",
"typer",
"types-pyperclip",
"uvicorn",
"fastapi-mcp",
], args = [
"--strict",
] },
]
[[repos]]
repo = "https://github.com/astral-sh/uv-pre-commit"
rev = "0.10.0"
hooks = [
{ id = "uv-lock" },
{ id = "uv-export", name = "Export dependencies to 'requirements.txt'", args = [
"--no-hashes",
"--no-dev",
"--no-emit-project",
"--output-file=requirements.txt",
] },
{ id = "uv-export", name = "Export dev dependencies to 'requirements-dev.txt'", args = [
"--no-hashes",
"--no-emit-project",
"--output-file=requirements-dev.txt",
] },
]