From 81df556feb03a932b1c712057b2293c4a3f49e59 Mon Sep 17 00:00:00 2001 From: Egor Kostan Date: Wed, 4 Dec 2024 19:43:21 -0800 Subject: [PATCH] Update encoding_and_decoding.py kyu_3/rail_fence_cipher_encoding_and_decoding/encoding_and_decoding.py:10 in public function `get_rails`: D205: 1 blank line required between summary line and description (found 0) Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, followed by a more elaborate description. The summary line may be used by automatic indexing tools; it is important that it fits on one line and is separated from the rest of the docstring by a blank line. --- .../encoding_and_decoding.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kyu_3/rail_fence_cipher_encoding_and_decoding/encoding_and_decoding.py b/kyu_3/rail_fence_cipher_encoding_and_decoding/encoding_and_decoding.py index cbf9bfd4e77..410e96fa921 100644 --- a/kyu_3/rail_fence_cipher_encoding_and_decoding/encoding_and_decoding.py +++ b/kyu_3/rail_fence_cipher_encoding_and_decoding/encoding_and_decoding.py @@ -9,6 +9,7 @@ def get_rails(string: str, n: int) -> list: """ Create rails matrix. + :param string: str :param n: int, the number of rails :return: list, rails matrix