Skip to content

Commit

Permalink
Fix ruff: It wants a point after the first docs sentence.
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutH committed Sep 21, 2024
1 parent be9e30f commit 4fb59dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesa/experimental/cell_space/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __repr__(self): # noqa

@cached_property
def neighborhood(self) -> CellCollection:
"""Returns the direct neigborhood of the cell
"""Returns the direct neigborhood of the cell.
This is equivalent to cell.get_neighborhood(radius=1)
Expand All @@ -146,7 +146,7 @@ def neighborhood(self) -> CellCollection:
def get_neighborhood(
self, radius: int = 1, include_center: bool = False
) -> CellCollection:
"""Returns a list of all neighboring cells for the given radius
"""Returns a list of all neighboring cells for the given radius.
For getting the direct neighborhood (i.e., radius=1) you can also use
the `neighborhood` property.
Expand Down

0 comments on commit 4fb59dd

Please sign in to comment.