Skip to content

Commit 0b65eaf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 971af85 commit 0b65eaf

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

feigen/_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Base type of feigen
33
"""
4+
45
from feigen import log
56

67

feigen/bspline.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ def __init__(self, uri, degree=None, ncoeffs=None): # noqa PLR0915
302302

303303
# plotter initialization constants
304304
self._config["dim"] = 2 # 2D
305-
self._config[
306-
"n_subplots"
307-
] = 3 # geometry, boundary condition, server response
305+
self._config["n_subplots"] = (
306+
3 # geometry, boundary condition, server response
307+
)
308308
self._config["geometry_plot"] = 0
309309
self._config["bc_plot"] = 1
310310
self._config["server_plot"] = 2
@@ -667,9 +667,9 @@ def _iganet_sync(self, evt): # noqa ARG002
667667
eval_points = vedo.Points(np.vstack(geo_eval).T, c="white")
668668
eval_point_ids = eval_points.labels("id", on="points", font="VTK")
669669
self._state["server_plot_actors"]["evaluated_points"] = eval_points
670-
self._state["server_plot_actors"][
671-
"evaluated_point_ids"
672-
] = eval_point_ids.c("grey")
670+
self._state["server_plot_actors"]["evaluated_point_ids"] = (
671+
eval_point_ids.c("grey")
672+
)
673673

674674
# for some reason add won't work here
675675
self.show(

feigen/comm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Communication helpers.
33
"""
4+
45
import uuid
56

67
from websockets.exceptions import ConnectionClosed

feigen/jacobian_determinant.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ def __init__(self, spline=None): # noqa PLR0915
9292

9393
# plotter initialization constants
9494
self._c["dim"] = 2 # 2D
95-
self._c[
96-
"n_subplots"
97-
] = 2 # geometry, boundary condition, server response
95+
self._c["n_subplots"] = (
96+
2 # geometry, boundary condition, server response
97+
)
9898
self._c["geometry_plot"] = 0
9999
self._c["server_plot"] = 1
100100

feigen/nurbs_weights.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ def __init__(
109109

110110
# plotter initialization constants
111111
self._c["dim"] = 2 # 2D
112-
self._c[
113-
"n_subplots"
114-
] = 2 # geometry, boundary condition, server response
112+
self._c["n_subplots"] = (
113+
2 # geometry, boundary condition, server response
114+
)
115115
self._c["geometry_plot"] = 0
116116
self._c["server_plot"] = 1
117117

feigen/poisson2d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ def __init__(self, spline=None): # noqa PLR0915
318318

319319
# plotter initialization constants
320320
self._c["dim"] = 2 # 2D
321-
self._c[
322-
"n_subplots"
323-
] = 3 # geometry, boundary condition, server response
321+
self._c["n_subplots"] = (
322+
3 # geometry, boundary condition, server response
323+
)
324324
self._c["geometry_plot"] = 0
325325
self._c["bc_plot"] = 1
326326
self._c["server_plot"] = 2

0 commit comments

Comments
 (0)