Skip to content

Commit b04cf10

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cc311a0 commit b04cf10

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

other/palindrome_check.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from typing import Text # Imports the 'Text' type for clarity (optional, but good practice)
1+
from typing import (
2+
Text,
3+
) # Imports the 'Text' type for clarity (optional, but good practice)
4+
25

36
def is_palindrome(text: str) -> bool:
47
"""
@@ -35,4 +38,5 @@ def is_palindrome(text: str) -> bool:
3538
if __name__ == "__main__":
3639
# Standard boilerplate for running documentation examples as tests.
3740
import doctest
38-
doctest.testmod()
41+
42+
doctest.testmod()

0 commit comments

Comments
 (0)