Skip to content

Commit

Permalink
Update group_cities.py
Browse files Browse the repository at this point in the history
kyu_6/rotate_the_letters_of_each_element/group_cities.py:10 in public function `group_cities`:
        D401: First line should be in imperative mood (perhaps 'Group', not 'Grouping')

        [Docstring] prescribes the function or method's effect as a command:
        ("Do this", "Return that"), not as a description; e.g. don't write
        "Returns the pathname ...".
  • Loading branch information
ikostan committed Dec 18, 2024
1 parent e7168bb commit ae4fbac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyu_6/rotate_the_letters_of_each_element/group_cities.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def group_cities(seq: list) -> list:
"""
Grouping cities.
Group cities.
A function that given a sequence of strings, groups the elements
that can be obtained by rotating others, ignoring upper or lower cases.
Expand Down

0 comments on commit ae4fbac

Please sign in to comment.