From ad9e284ada0df0d8130efde3bebb649897181ebe Mon Sep 17 00:00:00 2001 From: Faisal Minawi Date: Sun, 12 Jan 2025 19:52:33 +0200 Subject: [PATCH] Fix code formatting according to ruff standards --- solutions/grading_system.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solutions/grading_system.py b/solutions/grading_system.py index 4335e5fa2..fc9e4148a 100644 --- a/solutions/grading_system.py +++ b/solutions/grading_system.py @@ -44,9 +44,9 @@ def grading_system(score: int | float) -> str: """ - assert isinstance( - score, (int, float) - ), "The score is neither an integer nor a float." + assert isinstance(score, (int, float)), ( + "The score is neither an integer nor a float." + ) assert score >= 0, "Score is less than 0" assert score <= 100, "Score is greater than 100"