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