Files
mdpolish/pyproject.toml
T

45 lines
833 B
TOML

[build-system]
requires = ["hatchling>=1.27,<2"]
build-backend = "hatchling.build"
[project]
name = "mdpolish"
version = "0.4.0"
description = "Deterministic functional core for composing exact Markdown modifiers"
requires-python = ">=3.11"
dependencies = []
[project.optional-dependencies]
frequency = [
"wordfreq>=3.1.1,<4",
]
lexical = [
"pyphen>=0.18.1,<1",
"pyspellchecker>=0.9,<1",
]
dev = [
"mypy>=1.15,<2",
"pytest>=8.3,<10",
"ruff>=0.11,<1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/mdpolish"]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 120
extend-exclude = ["data", "reference"]
[tool.ruff.lint]
select = ["B", "E", "F", "I", "RUF", "UP"]
ignore = ["RUF001"]
[tool.mypy]
python_version = "3.11"
strict = true