diff --git a/kyu_8/grasshopper_personalized_message/__init__.py b/kyu_8/grasshopper_personalized_message/__init__.py index e69de29bb2d..491c5af033c 100644 --- a/kyu_8/grasshopper_personalized_message/__init__.py +++ b/kyu_8/grasshopper_personalized_message/__init__.py @@ -0,0 +1 @@ +"""Grasshopper - Personalized Message.""" diff --git a/kyu_8/grasshopper_personalized_message/grasshopper_personalized_message.py b/kyu_8/grasshopper_personalized_message/grasshopper_personalized_message.py index 32e43086b0f..2ffbc91f663 100644 --- a/kyu_8/grasshopper_personalized_message/grasshopper_personalized_message.py +++ b/kyu_8/grasshopper_personalized_message/grasshopper_personalized_message.py @@ -1,5 +1,6 @@ """ -Solution for -> Personalized greeting +Solution for -> Personalized greeting. + Created by Egor Kostan. GitHub: https://github.com/ikostan """ @@ -7,9 +8,9 @@ def greet(name: str, owner: str) -> str: """ - Function that gives a personalized greeting. - This function takes two parameters: name and owner. + Return a personalized greeting. + This function takes two parameters: name and owner. :param name: str :param owner: str :return: diff --git a/kyu_8/grasshopper_personalized_message/test_grasshopper_personalized_message.py b/kyu_8/grasshopper_personalized_message/test_grasshopper_personalized_message.py index c7ebc2db024..a6ebc4e21a2 100644 --- a/kyu_8/grasshopper_personalized_message/test_grasshopper_personalized_message.py +++ b/kyu_8/grasshopper_personalized_message/test_grasshopper_personalized_message.py @@ -1,5 +1,6 @@ """ -Test for -> Personalized greeting +Test for -> Personalized greeting. + Created by Egor Kostan. GitHub: https://github.com/ikostan """ @@ -23,18 +24,17 @@ @allure.tag('FUNDAMENTALS', 'CONDITIONAL STATEMENTS', 'CONTROL FLOW') -@allure.link(url='https://www.codewars.com/kata/5772da22b89313a4d50012f7', - name='Source/Kata') +@allure.link( + url='https://www.codewars.com/kata/5772da22b89313a4d50012f7', + name='Source/Kata') # pylint: enable=R0801 class GreetTestCase(unittest.TestCase): - """ - Testing greet function - """ + """Testing greet function.""" def test_greet(self): """ - Use conditionals to to verify that greet - function returns the proper message. + Conditionals tests to verify that greet function returns the proper message. + :return: """ # pylint: disable=R0801 @@ -43,8 +43,9 @@ def test_greet(self): allure.dynamic.severity(allure.severity_level.NORMAL) allure.dynamic.description_html( '