[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-07-11 08:19:11 +00:00 committed by crocmagnon-pr[bot]
parent cf1875dbc4
commit 5b00bad2d3

View file

@ -435,7 +435,7 @@ class Character(models.Model):
} | set(self.paths.all())
for path in character_paths:
for capability in path.capabilities.all():
capabilities_by_path[capability.path].append( # noqa: PERF401
capabilities_by_path[capability.path].append(
CharacterCapability(
capability,
known=capability in character_capabilities,