Skip to content

Commit

Permalink
linting with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Oct 9, 2023
1 parent 839bdee commit 03fb2e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
8 changes: 6 additions & 2 deletions src/osmg/load_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,12 @@ class LoadCase:

name: str
parent_model: Model
node_loads: obj_collections.Collection[int, PointLoadMass] = field(init=False)
node_mass: obj_collections.Collection[int, PointLoadMass] = field(init=False)
node_loads: obj_collections.Collection[int, PointLoadMass] = field(
init=False
)
node_mass: obj_collections.Collection[int, PointLoadMass] = field(
init=False
)
line_element_udl: obj_collections.Collection[int, LineElementUDL] = field(
init=False
)
Expand Down
15 changes: 6 additions & 9 deletions src/osmg/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,12 @@ class Model:
elastic_sections: obj_collections.Collection[int, ElasticSection] = field(
init=False
)
fiber_sections: obj_collections.Collection[int, FiberSection] = field(
init=False
)
uniaxial_materials: obj_collections.Collection[int, UniaxialMaterial] = field(
init=False
)
physical_materials: obj_collections.Collection[int, PhysicalMaterial] = field(
init=False
)
fiber_sections: obj_collections.Collection[
int, FiberSection] = field(init=False)
uniaxial_materials: obj_collections.Collection[
int, UniaxialMaterial] = field(init=False)
physical_materials: obj_collections.Collection[
int, PhysicalMaterial] = field(init=False)
uid_generator: UIDGenerator = field(default_factory=UIDGenerator)
settings: Settings = field(default_factory=Settings)

Expand Down

0 comments on commit 03fb2e6

Please sign in to comment.