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