From ad4c0bc15770cbb5c573e3cc33a6fed7aea72dbe Mon Sep 17 00:00:00 2001 From: jan Date: Sat, 7 Mar 2026 06:49:49 -0800 Subject: [PATCH] misc cleanup and testing deps --- adze/test/utils.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adze/test/utils.py b/adze/test/utils.py index 2192325..ad8a6b7 100644 --- a/adze/test/utils.py +++ b/adze/test/utils.py @@ -113,7 +113,7 @@ def gen_plane_through_centroid( """ centroid = get_centroid(poly) n = rand_unit_vector() - d = cast(numpy.floating, -n @ centroid) + d = cast('numpy.floating', -n @ centroid) return n, d diff --git a/pyproject.toml b/pyproject.toml index 5e5a093..6c95a0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ path = "adze/__init__.py" [project.optional-dependencies] stl = ["stl"] +test = ["pytest", "pytest-benchmark"] [tool.ruff] exclude = [ @@ -68,7 +69,6 @@ lint.ignore = [ "ANN002", # *args "ANN003", # **kwargs "ANN401", # Any - "ANN101", # self: Self "SIM108", # single-line if / else assignment "RET504", # x=y+z; return x "PIE790", # unnecessary pass