54 lines
991 B
TOML
54 lines
991 B
TOML
|
|
[build-system]
|
||
|
|
requires = ["setuptools>=68", "wheel"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "markidocx"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Markdown ↔ DOCX round-trip editing system"
|
||
|
|
requires-python = ">=3.11"
|
||
|
|
dependencies = [
|
||
|
|
"python-docx>=1.1.0",
|
||
|
|
"pyyaml>=6.0",
|
||
|
|
"typer>=0.12",
|
||
|
|
"rich>=13.0",
|
||
|
|
"mistune>=3.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
dev = [
|
||
|
|
"pytest>=8.0",
|
||
|
|
"pytest-cov>=5.0",
|
||
|
|
"ruff>=0.4",
|
||
|
|
"mypy>=1.10",
|
||
|
|
"types-PyYAML>=6.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
markidocx = "markidocx.cli:app"
|
||
|
|
|
||
|
|
[tool.setuptools.packages.find]
|
||
|
|
where = ["src"]
|
||
|
|
|
||
|
|
[tool.setuptools.package-data]
|
||
|
|
markidocx = ["templates/*.docx"]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
target-version = "py311"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
||
|
|
ignore = ["E501"]
|
||
|
|
|
||
|
|
[tool.mypy]
|
||
|
|
python_version = "3.11"
|
||
|
|
strict = false
|
||
|
|
warn_return_any = true
|
||
|
|
warn_unused_configs = true
|
||
|
|
ignore_missing_imports = true
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|
||
|
|
addopts = "-v"
|