Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (62 loc) · 1.61 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (62 loc) · 1.61 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
[project]
name = "md2typst"
version = "0.3.6"
description = "Markdown to Typst converter with multiple parser support"
readme = "README.md"
authors = [
{ name = "Stefane Fermigier", email = "sf@abilian.com" }
]
requires-python = ">=3.12"
dependencies = [
"click>=8.0.0",
"markdown-it-py>=3.0.0",
"mdit-py-plugins>=0.4.0",
"mistune>=3.0.0",
"marko>=2.0.0",
"platformdirs>=4.0.0",
"pyyaml>=6.0.0",
]
[project.urls]
Homepage = "https://github.com/abilian/md2typst"
Repository = "https://github.com/abilian/md2typst"
"Source (Sourcehut)" = "https://git.sr.ht/~sfermigier/md2typst"
Issues = "https://github.com/abilian/md2typst/issues"
Changelog = "https://github.com/abilian/md2typst/blob/main/CHANGES.md"
[project.scripts]
md2typst = "md2typst.cli:main"
md2pdf = "md2typst.cli:main_pdf"
[dependency-groups]
dev = [
# Test
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"pytest-benchmark>=4.0.0",
"hypothesis>=6.0.0",
"nox>=2026.2.9",
# Lint / typecheck
"types-pyyaml>=6.0.12.20250915",
"ruff>=0.15.9",
"ty>=0.0.8",
"pyrefly>=0.46.3",
"mypy>=1.19.1",
"pre-commit>=4.5.1",
]
[build-system]
requires = ["uv_build>=0.9.13,<0.10.0"]
build-backend = "uv_build"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-m 'not benchmark'"
markers = [
"unit: Unit tests (fast, isolated)",
"integration: Integration tests (multiple components)",
"e2e: End-to-end tests (full workflow)",
"benchmark: Benchmark tests (slow, run with -m benchmark)",
"slow: Slow tests",
]
[tool.pyrefly]
project-includes = [
"**/*.py*",
"**/*.ipynb",
]