markitdown/packages/markitup-sample-plugin/pyproject.toml

71 lines
1.9 KiB
TOML
Raw Normal View History

2024-11-13 21:00:01 +00:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
2025-04-21 07:13:19 +00:00
name = "markitup-sample-plugin"
2024-11-13 21:00:01 +00:00
dynamic = ["version"]
2025-04-21 07:13:19 +00:00
description = 'A sample plugin for the "markitup" library.'
2024-11-13 21:00:01 +00:00
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
keywords = []
authors = [
{ name = "Adam Fourney", email = "adamfo@microsoft.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
2024-11-13 21:00:01 +00:00
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
2025-04-21 07:13:19 +00:00
"markitup>=0.1.0a1",
"striprtf",
2024-11-13 21:00:01 +00:00
]
[project.urls]
2025-04-21 07:13:19 +00:00
Documentation = "https://github.com/microsoft/markitup#readme"
Issues = "https://github.com/microsoft/markitup/issues"
Source = "https://github.com/microsoft/markitup"
2024-11-13 21:00:01 +00:00
[tool.hatch.version]
2025-04-21 07:13:19 +00:00
path = "src/markitup_sample_plugin/__about__.py"
2024-11-13 21:00:01 +00:00
# IMPORTANT: MarkItDown will look for this entry point to find the plugin.
2025-04-21 07:13:19 +00:00
[project.entry-points."markitup.plugin"]
sample_plugin = "markitup_sample_plugin"
2024-11-14 15:50:21 +00:00
2024-11-13 21:00:01 +00:00
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
2025-04-21 07:13:19 +00:00
check = "mypy --install-types --non-interactive {args:src/markitup_sample_plugin tests}"
2024-11-13 21:00:01 +00:00
[tool.coverage.run]
2025-04-21 07:13:19 +00:00
source_pkgs = ["markitup-sample-plugin", "tests"]
2024-11-13 21:00:01 +00:00
branch = true
parallel = true
omit = [
2025-04-21 07:13:19 +00:00
"src/markitup_sample_plugin/__about__.py",
2024-11-13 21:00:01 +00:00
]
[tool.coverage.paths]
2025-04-21 07:13:19 +00:00
markitup-sample-plugin = ["src/markitup_sample_plugin", "*/markitup-sample-plugin/src/markitup_sample_plugin"]
tests = ["tests", "*/markitup-sample-plugin/tests"]
2024-11-13 21:00:01 +00:00
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
2024-12-17 20:13:19 +00:00
[tool.hatch.build.targets.sdist]
2025-04-21 07:13:19 +00:00
only-include = ["src/markitup_sample_plugin"]