Files
pptopic/pyproject.toml

67 lines
1.3 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pptopic"
version = "0.1.0"
description = "导出长图"
readme = "README.md"
requires-python = ">=3.13"
authors = [
{ name = "Sidney Zhang", email = "liangyi@me.com" }
]
dependencies = [
"numpy>=2.4.2",
"opencv-python>=4.13.0.92",
"pillow>=12.1.1",
"pywin32>=311",
"simtoolsz>=0.2.12.3",
"typer>=0.21.2",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
]
[project.scripts]
pptopic = "pptopic:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-ra",
"-q",
"--strict-markers",
"--strict-config",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
]
[tool.coverage.run]
source = ["src/pptopic"]
omit = [
"*/tests/*",
"*/test_*.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]