From 8f1d86d70a12d2fc4c8bb5ab15224d67fe9aa5cc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 12:13:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/sugarscape_cg/sugarscape_cg/model.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/sugarscape_cg/sugarscape_cg/model.py b/examples/sugarscape_cg/sugarscape_cg/model.py index ee9ad88c..667e9b37 100644 --- a/examples/sugarscape_cg/sugarscape_cg/model.py +++ b/examples/sugarscape_cg/sugarscape_cg/model.py @@ -75,10 +75,14 @@ def step(self): def run_model(self, step_count=200): if self.verbose: - print(f"Initial number Sugarscape Agents: {len(self.agents_by_type[SsAgent])}") + print( + f"Initial number Sugarscape Agents: {len(self.agents_by_type[SsAgent])}" + ) for i in range(step_count): self.step() if self.verbose: - print(f"\nFinal number Sugarscape Agents: {len(self.agents_by_type[SsAgent])}") + print( + f"\nFinal number Sugarscape Agents: {len(self.agents_by_type[SsAgent])}" + )