Python: Speed up testing

Build editable builds as cargo debug builds, not release. This is faster
(because we don't need LTO) and in theory gives additional coverage to
debug asserts.
This commit is contained in:
Simon Hausmann 2025-11-21 09:37:49 +01:00 committed by Simon Hausmann
parent c7e1b9ee90
commit feecce73ad

View file

@ -47,3 +47,6 @@ dev = ["pdoc>=15.0.1", "pytest>=8.3.4", "ruff>=0.9.6", "pillow>=11.3.0", "numpy>
cache-keys = [{ file = "pyproject.toml" }, { file = "Cargo.toml" }, { file = "**/*.rs" }]
# Uncomment to build rust code in development mode
# config-settings = { build-args = '--profile=dev' }
[tool.maturin]
editable-profile = "dev"