misc cleanup and testing deps

This commit is contained in:
jan 2026-03-07 06:49:49 -08:00
commit ad4c0bc157
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ def gen_plane_through_centroid(
""" """
centroid = get_centroid(poly) centroid = get_centroid(poly)
n = rand_unit_vector() n = rand_unit_vector()
d = cast(numpy.floating, -n @ centroid) d = cast('numpy.floating', -n @ centroid)
return n, d return n, d

View file

@ -47,6 +47,7 @@ path = "adze/__init__.py"
[project.optional-dependencies] [project.optional-dependencies]
stl = ["stl"] stl = ["stl"]
test = ["pytest", "pytest-benchmark"]
[tool.ruff] [tool.ruff]
exclude = [ exclude = [
@ -68,7 +69,6 @@ lint.ignore = [
"ANN002", # *args "ANN002", # *args
"ANN003", # **kwargs "ANN003", # **kwargs
"ANN401", # Any "ANN401", # Any
"ANN101", # self: Self
"SIM108", # single-line if / else assignment "SIM108", # single-line if / else assignment
"RET504", # x=y+z; return x "RET504", # x=y+z; return x
"PIE790", # unnecessary pass "PIE790", # unnecessary pass