From e4e92f44e30441e3ad8bafcc0a47b1be80c8e489 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 07:36:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- mesa/examples/advanced/pd_grid/model.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mesa/examples/advanced/pd_grid/model.py b/mesa/examples/advanced/pd_grid/model.py index 864b1299cbd..6350d8c86ba 100644 --- a/mesa/examples/advanced/pd_grid/model.py +++ b/mesa/examples/advanced/pd_grid/model.py @@ -32,7 +32,9 @@ def __init__( if payoffs is not None: self.payoff = payoffs - PDAgent.create_agents(self, len(self.grid.all_cells.cells), cell=self.grid.all_cells.cells) + PDAgent.create_agents( + self, len(self.grid.all_cells.cells), cell=self.grid.all_cells.cells + ) self.datacollector = mesa.DataCollector( {