-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (58 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
70 lines (58 loc) · 1.48 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
[project]
name = "quickmark"
dynamic = ["version"]
description = "Rust Markdown parsing, with python and CLI interface"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">3.10"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup",
]
authors = [
# Kagi Authors
{name = "Matt Ranger", email = "matt@kagi.com"},
# credit original author
{name = "Chris Sewell", email = "chrisj_sewell@hotmail.com"},
]
dependencies = [
"maturin[patchelf]>=1.8.3",
"pytest<=8.1",
"pytest-xdist",
"pytest-param-files",
]
[package.metadata.maturin]
name = "quickmark_build"
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project.optional-dependencies]
testing = [
"pytest",
"pytest-param-files",
]
benchmarking = [
"pytest",
"pytest-benchmark",
"markdown-it-py",
]
[project.scripts]
markdown-it-pyrs = "pymdrs.cli:main"
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "python"
[tool.uv]
package = true
[tool.isort]
profile = "black"
force_sort_within_sections = true
[tool.ruff]
line-length = 80
extend-select = ["B0", "C4", "ICN", "ISC", "N", "RUF", "SIM"]
[tool.mypy]
show_error_codes = true
strict = true