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)
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue