Skip to content

Commit

Permalink
chore: run format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Apr 26, 2024
1 parent a946801 commit 6e58965
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/core/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6e58965

Please sign in to comment.