-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (59 loc) · 922 Bytes
/
pyproject.toml
File metadata and controls
65 lines (59 loc) · 922 Bytes
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
[project]
name = "pre-commit-hooks"
version = "0"
requires-python = "==3.12.*"
[dependency-groups]
dev = [
"mypy>=1.15.0",
"ruff>=0.11.6",
"ipython>=9.1.0",
"pre-commit>=4.2.0",
"gitpython>=3.1.44",
"pytest>=8.3.5",
"pytest-xdist>=3.6.1",
]
[tool.ruff]
target-version = "py312"
line-length = 80
[tool.ruff.lint]
select = [
"ARG",
"ASYNC",
"B",
"C4",
"C90",
"D",
"DOC",
"DTZ",
"E",
"EM",
"ERA",
"F",
"FA",
"G",
"I",
"ISC",
"LOG",
"N",
"PIE",
"PL",
"PTH",
"RET",
"RUF",
"SIM",
"SLOT",
"TRY",
"UP",
"W",
]
preview = true
explicit-preview-rules = true
extend-select = ["DOC201", "DOC202", "DOC402", "DOC403", "DOC501", "DOC502"]
ignore = ["D100", "D101", "D103", "LOG015", "RET504", "TRY003"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--capture=no"