Skip to content

Commit 10d45ab

Browse files
committed
lint
1 parent d770d7e commit 10d45ab

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/compas_fea2/UI/viewer/viewer.py

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class FEA2Viewer:
4949
"""
5050

5151
def __init__(self, obj, **kwargs):
52-
5352
VIEWER_CONFIG_FILE = os.path.join(os.path.dirname(__file__), "config_default.json")
5453
sf = kwargs.get("scale_factor", 1)
5554
self.app = App(config=VIEWER_CONFIG_FILE)

src/compas_fea2/model/parts.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,9 @@ def from_gmsh(cls, gmshModel, name=None, **kwargs):
359359
360360
Examples
361361
--------
362-
>>> mat = ElasticIsotropic(name='mat', E=29000, v=0.17, density=2.5e-9)
363-
>>> sec = SolidSection('mysec', mat)
364-
>>> part = DeformablePart.from_gmsh('part_gmsh', gmshModel, sec)
362+
>>> mat = ElasticIsotropic(name="mat", E=29000, v=0.17, density=2.5e-9)
363+
>>> sec = SolidSection("mysec", mat)
364+
>>> part = DeformablePart.from_gmsh("part_gmsh", gmshModel, sec)
365365
366366
"""
367367
import numpy as np

src/compas_fea2/results/histories.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class StressHistoryResult:
5-
65
def __init__(self, name=None, **kwargs):
76
super(StressHistoryResult, self).__init__(name=name, **kwargs)
87
self.stress_history = [] # Initialize an empty list to store stress history

0 commit comments

Comments
 (0)