Skip to content

Commit

Permalink
STY: mypy....
Browse files Browse the repository at this point in the history
  • Loading branch information
IngridKJ committed Feb 18, 2025
1 parent cacc1be commit 0c6586e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/porepy/applications/md_grids/model_geometries.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ class SquareDomainOrthogonalFractures(pp.ModelGeometry):
"""

def set_geometry(self) -> None:
"""Included to make mypy happy.
Mypy complains about :class:`~NonMatchingSquareDomainOrthogonalFractures`
calling super() on set_geometry() when its parent (this class) does not have an
explicit implementation of set_geometry().
"""
super().set_geometry()

@property
def domain_size(self) -> pp.number:
"""Return the side length of the square domain.
Expand Down

0 comments on commit 0c6586e

Please sign in to comment.