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] authored and quaquel committed Aug 19, 2024
1 parent 4addcc9 commit 3e5a64f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mesa/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,7 @@ def random(self) -> Random:
"""
return self.model.random

def group_by(
self, by: Callable | str, result_type: str = "agentset"
) -> GroupBy:
def group_by(self, by: Callable | str, result_type: str = "agentset") -> GroupBy:
"""
Group agents by the specified attribute
Expand Down

0 comments on commit 3e5a64f

Please sign in to comment.