dxfedit/03_Python_OpenSource_DXF/pyproject.toml
2025-09-09 18:42:30 +08:00

47 lines
935 B
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cad-automation"
version = "0.1.0"
description = "CAD文件自动化处理系统"
authors = [
{name = "Your Name", email = "your.email@example.com"},
]
dependencies = [
"ezdxf>=1.0.0",
"pandas>=1.5.0",
"openpyxl>=3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=22.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
]
docs = [
"sphinx>=5.0.0",
]
[tool.black]
line-length = 88
target-version = ['py38']
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=src --cov-report=html --cov-report=term"