Skip to content

Commit d55ee55

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4da5f0c commit d55ee55

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mesa_frames/concrete/datacollector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
model_reporters : dict[str, Callable] | None
9393
Functions to collect data at the model level.
9494
agent_reporters : dict[str, str | Callable] | None
95-
(MODIFIED) A dictionary mapping new column names to existing
95+
(MODIFIED) A dictionary mapping new column names to existing
9696
column names (str) or callables. Callables are not currently
9797
processed by the agent data collector but are allowed for API compatibility.
9898
Example: {"agent_wealth": "wealth", "age_in_years": "age"}

tests/test_datacollector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ def test__init__(self, fix1_model, postgres_uri):
172172
# )
173173

174174
model.test_dc = DataCollector(
175-
model=model,
176-
agent_reporters={"wealth": lambda m: 1}
175+
model=model, agent_reporters={"wealth": lambda m: 1}
177176
)
178177
assert model.test_dc is not None
179178

0 commit comments

Comments
 (0)