-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (78 loc) · 1.12 KB
/
pyproject.toml
File metadata and controls
86 lines (78 loc) · 1.12 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[dependency-groups]
dev = [
"ruamel.yaml==0.19.1",
{include-group = "pre-commit"}
]
pre-commit = [
"prek==0.3.11"
]
[project]
authors = [
{email = "michal@weblate.org", name = "Michal Čihař"}
]
name = "weblate-meta"
requires-python = ">=3.11"
version = "2024.11"
[tool.isort]
profile = "black"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = [
"D203", # CONFIG: incompatible with D211
"D212" # CONFIG: incompatible with D213
]
select = [
"A",
"B",
"C4",
"C90",
"D",
"DJ",
"E",
"ERA",
"EXE",
"F",
"G",
"ICN",
"INP",
"ISC",
"N",
"PD",
"PGH",
"PIE",
"PL",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"T10",
"T20",
"TID",
"TRY",
"UP",
"YTT"
]
[tool.ruff.lint.mccabe]
max-complexity = 16
[tool.rumdl]
disable = [
# We do not enforce heading
"first-line-heading",
# Avoid length limit checks
"line-length"
]
[tool.rumdl.per-file-ignores]
"README.md" = [
# Allow HTML
"MD033"
]
[tool.tomlsort]
ignore_case = true
sort_inline_arrays = true
sort_inline_tables = true
sort_table_keys = true
spaces_before_inline_comment = 2