This repository was archived by the owner on Sep 14, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (109 loc) · 2.32 KB
/
pyproject.toml
File metadata and controls
119 lines (109 loc) · 2.32 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=78.0.2"]
[project]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Localization",
"Topic :: Utilities"
]
dependencies = [
"click>=8.0,<9.0",
"translate-toolkit>=3.5.1,<3.17.0",
"translation-finder>=2.11,<3.0"
]
description = "Weblate Locale Linter"
keywords = [
"i18n l10n gettext git mercurial translate"
]
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
name = "locale_lint"
requires-python = ">=3.9"
version = "0.3.1"
[[project.authors]]
email = "michal@weblate.org"
name = "Michal Čihař"
[project.optional-dependencies]
lint = ["pre-commit==4.3.0"]
test = [
"pytest",
"pytest-cov"
]
[project.readme]
content-type = "text/markdown"
file = "README.md"
[project.scripts]
locale_lint = "locale_lint.cli:locale_lint"
[project.urls]
Documentation = "https://docs.weblate.org/"
Download = "https://github.com/WeblateOrg/locale_lint"
Funding = "https://weblate.org/donate/"
Homepage = "https://weblate.org/"
"Issue Tracker" = "https://github.com/WeblateOrg/locale_lint/issues"
"Source Code" = "https://github.com/WeblateOrg/locale_lint"
Twitter = "https://twitter.com/WeblateOrg"
[tool.ruff]
ignore = [
"D10", # TODO: we are missing many docstrings
"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.setuptools]
include-package-data = true
packages = [
"locale_lint"
]
platforms = [
"any"
]