[project]
name = "edgefirst-schemas"
dynamic = ["version"]
license = { text = "Apache-2.0" }
[project.urls]
Homepage = "https://doc.edgefirst.ai"
Documentation = "https://doc.edgefirst.ai/latest/perception/"
Repository = "https://github.com/EdgeFirstAI/schemas"
[build-system]
requires = ["maturin>=1,<2"]
build-backend = "maturin"
[tool.maturin]
manifest-path = "crates/python/Cargo.toml"
[tool.pytest.ini_options]
testpaths = ["tests/python"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.pytest-benchmark]
min_rounds = 5
warmup = true
warmup_iterations = 3
[tool.coverage.run]
source = ["edgefirst"]
branch = true
omit = ["*/tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
show_missing = true
[tool.coverage.xml]
output = "coverage-python.xml"