From acbff930c671771f0ee99ad3075d7bb8de267ea2 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Tue, 15 Oct 2024 08:18:26 +0200 Subject: [PATCH] Fix pre-commit Mainly imports --- examples/bank_reserves/batch_run.py | 13 +------------ examples/caching_and_replay/model.py | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/examples/bank_reserves/batch_run.py b/examples/bank_reserves/batch_run.py index 60ce350f..2903fd59 100644 --- a/examples/bank_reserves/batch_run.py +++ b/examples/bank_reserves/batch_run.py @@ -24,20 +24,9 @@ every step of every run. """ -import itertools import mesa import pandas as pd -from bank_reserves.agents import Bank, Person -from bank_reserves.model import ( - get_num_mid_agents, - get_num_poor_agents, - get_num_rich_agents, - get_total_loans, - get_total_money, - get_total_savings, - get_total_wallets, - BankReservesModel, -) +from bank_reserves.model import BankReservesModel def main(): diff --git a/examples/caching_and_replay/model.py b/examples/caching_and_replay/model.py index cc868c1e..cd35e88b 100644 --- a/examples/caching_and_replay/model.py +++ b/examples/caching_and_replay/model.py @@ -1,7 +1,6 @@ """This file was copied over from the original Schelling mesa example.""" import mesa - from mesa.experimental.cell_space import CellAgent, OrthogonalMooreGrid