-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
pyproject.toml
103 lines (92 loc) · 2.15 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "xandikos"
description = "Lightweight CalDAV/CardDAV server"
readme = "README.rst"
authors = [{name = "Jelmer Vernooij", email = "[email protected]"}]
license = {text = "GNU GPLv3 or later"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: POSIX",
]
urls = {Homepage = "https://www.xandikos.org/"}
requires-python = ">=3.9"
dependencies = [
"aiohttp",
"icalendar>=5.0.4",
"dulwich>=0.21.6",
"defusedxml",
"jinja2",
"multidict",
"vobject",
]
dynamic = ["version"]
[project.optional-dependencies]
prometheus = ["aiohttp_openmetrics"]
systemd = ["systemd_python"]
dev = [
"ruff==0.7.0",
"pytest",
]
[project.scripts]
xandikos = "xandikos.__main__:main"
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages]
find = {namespaces = false}
[tool.setuptools.package-data]
xandikos = [
"templates/*.html",
"py.typed",
]
[tool.setuptools.dynamic]
version = {attr = "xandikos.__version__"}
[tool.mypy]
ignore_missing_imports = true
[tool.distutils.bdist_wheel]
universal = 1
[tool.ruff.lint]
select = [
"ANN",
"D",
"E",
"F",
"UP",
]
ignore = [
"ANN001",
"ANN002",
"ANN003",
"ANN101", # missing-type-self
"ANN102",
"ANN201",
"ANN202",
"ANN204",
"ANN206",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D403",
"D417",
"E501",
# f-strings aren't actually more readable for some expressions, especially things like:
# "{%s}blah" % caldav.NAMESPACE
# where escaping the braces is a pain
"UP031",
]
[tool.ruff.lint.pydocstyle]
convention = "google"