From 6e5896596b4a3012f0691ba3f1cb484ad7b6c1a5 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Fri, 26 Apr 2024 12:20:53 +0200 Subject: [PATCH] chore: run format --- backend/core/serializers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/core/serializers.py b/backend/core/serializers.py index a0fdcc79d..02397fa5a 100644 --- a/backend/core/serializers.py +++ b/backend/core/serializers.py @@ -504,7 +504,9 @@ def validate_score(self, value): if value is not None: if value < framework.min_score or value > framework.max_score: raise serializers.ValidationError( - {"score": f"Score must be between {framework.min_score} and {framework.max_score}"} + { + "score": f"Score must be between {framework.min_score} and {framework.max_score}" + } ) return value