Skip to content

Commit

Permalink
Update solution.py
Browse files Browse the repository at this point in the history
./kyu_4/range_extraction/solution.py:12:1: W293 blank line contains whitespace
    """
    Solution for Range Extraction problem.

    Tt takes a list of integers in increasing order and returns
    a correctly formatted string in the range format.
    :param args: list
    :return: str
    """
^
./kyu_4/range_extraction/solution.py:41:19: W291 trailing whitespace
def case_3(a: int,
                  ^
./kyu_4/range_extraction/solution.py:42:26: W291 trailing whitespace
           current: list,
                         ^
./kyu_4/range_extraction/solution.py:46:1: W293 blank line contains whitespace
    """
    Case #3.

    :param a: int
    :param current: list
    :param result: str
    :return: str
    """
^
./kyu_4/range_extraction/solution.py:67:1: W293 blank line contains whitespace
    """
    Case #2.

    :return: str
    """
  • Loading branch information
ikostan committed Dec 7, 2024
1 parent 2737838 commit f90c9b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kyu_4/range_extraction/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def solution(args: list) -> str:
"""
Solution for Range Extraction problem.
Tt takes a list of integers in increasing order and returns
a correctly formatted string in the range format.
:param args: list
Expand Down Expand Up @@ -38,12 +38,12 @@ def solution(args: list) -> str:
return result


def case_3(a: int,
current: list,
def case_3(a: int,
current: list,
result: str) -> str:
"""
Case #3.
:param a: int

Check warning on line 47 in kyu_4/range_extraction/solution.py

View check run for this annotation

Codecov / codecov/patch

kyu_4/range_extraction/solution.py#L47

Added line #L47 was not covered by tests
:param current: list
:param result: str
Expand All @@ -64,7 +64,7 @@ def case_3(a: int,
def case_2(**kwargs) -> str:
"""
Case #2.
:return: str
"""
a: int = kwargs['a']
Expand Down

0 comments on commit f90c9b2

Please sign in to comment.