-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
110 lines (98 loc) · 2.61 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
104
105
106
107
108
109
110
[project]
name = "Xul"
description = "XML (XPath, XSD, XSLT) Utilities"
readme = "README.rst"
authors = [
{ name = "Peter Adrichem", email = "[email protected]" }
]
requires-python = ">=3.9"
dependencies = [
"lxml>=4.0"
]
keywords = [ "xml", "xpath", "xslt", "xsd", "dtd", "xml schema", "relax ng", "rng" ]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Topic :: Text Processing :: Markup :: XML",
"Topic :: Utilities"
]
license = { text = "MIT" }
dynamic = [ "version" ]
[project.optional-dependencies]
docs = [
"Sphinx~=8.1.3"
]
test = [
"black~=24.10",
"isort~=5.13.2",
"lxml-stubs~=0.5.1",
"mypy~=1.14.1",
"ruff~=0.9.2",
"types-Pygments~=2.19",
]
syntax = [
"Pygments>=2.7"
]
[project.urls]
Homepage = "https://xul.readthedocs.io/"
Documentation = "https://xul.readthedocs.io/en/stable/"
Changelog = "https://xul.readthedocs.io/en/latest/changelog.html"
Source = "https://github.com/peteradrichem/Xul"
[project.entry-points.console_scripts]
transform = "xul.cmd.transform:main"
ppx = "xul.cmd.ppx:main"
xp = "xul.cmd.xp:main"
validate = "xul.cmd.validate:main"
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { attr = "xul.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
xul = [
"py.typed"
]
[tool.black]
color = true
line-length = 100
verbose = true
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
cache_dir = "/tmp/.mypy_cache"
exclude = ["^docs/", "^build/"]
pretty = true
[tool.ruff]
cache-dir = "/tmp/.ruff_cache"
exclude = ["build/"]
include = ["pyproject.toml", "*.py"]
line-length = 100
[tool.ruff.lint]
# On top of the default `select` (`E`, `F`), pycodestyle errors and Pyflakes.
extend-select = [
"D", # pydocstyle
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
]
pydocstyle.convention = "pep257"