-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (94 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (94 loc) · 1.85 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[dependency-groups]
dev = [
{include-group = "lint"}
]
lint = [
{include-group = "pre-commit"}
]
pre-commit = [
"prek==0.4.13"
]
[project]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Localization",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
]
description = "Weblate munin plugin"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
name = "weblate-munin"
requires-python = ">=3.11"
version = "0"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = [
"D10", # TODO: we are missing many docstrings
"D203", # CONFIG: incompatible with D211
"D212", # CONFIG: incompatible with D213
"T201", # WONTFIX: using print() (maybe add noqa)
"PLW2901" # TODO: overwriting variables inside loop
]
select = [
"E",
"F",
"B",
"I",
"T10",
"A",
"C4",
"C90",
"YTT",
"DJ",
"UP",
"D",
"PD",
"PGH",
"PL",
"TRY",
"RUF",
"ERA",
"ICN",
"ISC",
"EXE",
"INP",
"PIE",
"G",
"PYI",
"Q",
"SIM",
"TID",
"RSE",
"T20",
"RET",
"SLF",
"N"
]
[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"
]