From 1b808a4c18b80ec9a043c439136fd9f832972203 Mon Sep 17 00:00:00 2001 From: Egor Kostan Date: Wed, 20 Nov 2024 20:45:05 -0800 Subject: [PATCH] Update solution.py /home/docs/checkouts/readthedocs.org/user_builds/codewars/checkouts/latest/kyu_6/scheduling/solution.py:docstring of kyu_6.scheduling.solution.shortest_job_first:3: ERROR: Unexpected indentation. [docutils] /home/docs/checkouts/readthedocs.org/user_builds/codewars/checkouts/latest/kyu_6/scheduling/solution.py:docstring of kyu_6.scheduling.solution.shortest_job_first:4: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] --- kyu_6/scheduling/solution.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kyu_6/scheduling/solution.py b/kyu_6/scheduling/solution.py index 5179ad81953..09cd478990f 100644 --- a/kyu_6/scheduling/solution.py +++ b/kyu_6/scheduling/solution.py @@ -9,12 +9,11 @@ def shortest_job_first(jobs: list, index: int) -> int: """ It takes in: 1. "jobs" a non-empty array of positive integers. - They represent the clock-cycles(cc) needed to finish the job. + They represent the clock-cycles(cc) needed to finish the job. 2. "index" a positive integer. That represents the job we're interested in. SJF returns: 1. A positive integer representing the cc it takes to complete the job at index. - :param jobs: :param index: :return: