From ae4fbac4413ce49e2b27b7d37bbaa8c1f347e3f4 Mon Sep 17 00:00:00 2001 From: Egor Kostan <20955183+ikostan@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:50:13 -0800 Subject: [PATCH] Update group_cities.py 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 ...". --- kyu_6/rotate_the_letters_of_each_element/group_cities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kyu_6/rotate_the_letters_of_each_element/group_cities.py b/kyu_6/rotate_the_letters_of_each_element/group_cities.py index fb8725ecda2..675f3a223b4 100644 --- a/kyu_6/rotate_the_letters_of_each_element/group_cities.py +++ b/kyu_6/rotate_the_letters_of_each_element/group_cities.py @@ -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.