-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (124 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
136 lines (124 loc) · 2.17 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.8.18,<0.12.0"]
[dependency-groups]
dev = [
{include-group = "lint"}
]
lint = [
{include-group = "pre-commit"}
]
pre-commit = [
"prek==0.3.11"
]
[project]
authors = [
{name = "Michal Čihař", email = "michal@weblate.org"}
]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Localization",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
]
dependencies = [
"Weblate"
]
description = "Weblate customization example"
keywords = [
"i18n",
"l10n",
"gettext",
"git",
"mercurial",
"translate"
]
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
name = "weblate_customization"
requires-python = ">=3.11"
version = "0.1"
[project.readme]
content-type = "text/x-rst"
file = "README.rst"
[project.urls]
Homepage = "https://weblate.org/"
[tool.check-manifest]
ignore = [
"*.yaml",
"*.yml",
".editorconfig",
"LICENSES/*",
".reuse/*"
]
[tool.isort]
profile = "black"
[tool.ruff]
ignore = [
"D203", # CONFIG: incompatible with D211
"D212" # CONFIG: incompatible with D213
]
select = [
"E",
"F",
"B",
"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"
]
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.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.uv.build-backend]
source-include = [
"SECURITY.md"
]