Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2024
1 parent 550c123 commit 2650ad7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion benchmarks/Schelling/schelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from mesa import Model
from mesa.spaces import CellAgent, OrthogonalMooreGrid
from mesa.time import RandomActivation


class SchellingAgent(CellAgent):
Expand Down
2 changes: 1 addition & 1 deletion mesa/spaces/discrete_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from random import Random
from typing import Any, Generic, TypeVar

from mesa.space import PropertyLayer
from mesa.spaces.cell import Cell
from mesa.spaces.cell_collection import CellCollection
from mesa.space import PropertyLayer

T = TypeVar("T", bound=Cell)

Expand Down
2 changes: 1 addition & 1 deletion mesa/visualization/components/matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from matplotlib.figure import Figure

import mesa
from mesa.spaces import VoronoiGrid
from mesa.space import PropertyLayer
from mesa.spaces import VoronoiGrid
from mesa.visualization.utils import update_counter


Expand Down
2 changes: 1 addition & 1 deletion tests/test_cell_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

from mesa import Model
from mesa.space import PropertyLayer
from mesa.spaces import (
Cell,
CellAgent,
Expand All @@ -18,7 +19,6 @@
OrthogonalVonNeumannGrid,
VoronoiGrid,
)
from mesa.space import PropertyLayer


def test_orthogonal_grid_neumann():
Expand Down

0 comments on commit 2650ad7

Please sign in to comment.