From 434db242b276cee67ec17135b9f03a9fb1d40cdb Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 4 Jul 2023 13:38:12 +0200 Subject: [PATCH] fix ruff --- src/character/models/character.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/character/models/character.py b/src/character/models/character.py index dadb869..db6cf89 100644 --- a/src/character/models/character.py +++ b/src/character/models/character.py @@ -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( + capabilities_by_path[capability.path].append( # noqa: PERF401 CharacterCapability( capability, known=capability in character_capabilities,