Skip to content

Commit 025f1db

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

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: Text) -> bool:
47
"""
@@ -37,4 +40,5 @@ def is_palindrome(text: Text) -> bool:
3740
# When this file is run directly (python file.py), it executes the
3841
# doctest examples inside the docstring to verify the function works.
3942
import doctest
40-
doctest.testmod()
43+
44+
doctest.testmod()

0 commit comments

Comments
 (0)