misc cleanup and testing deps
This commit is contained in:
parent
bf057e2505
commit
ad4c0bc157
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue