Skip to content

Commit 08e6c61

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

strings/knuth_morris_pratt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
1111
Source: https://en.wikipedia.org/wiki/Knuth–Morris–Pratt_algorithm
1212
"""
13+
1314
from __future__ import annotations
1415

1516

@@ -119,4 +120,4 @@ def knuth_morris_pratt_search(text: str, pattern: str) -> list[int]:
119120
if __name__ == "__main__":
120121
import doctest
121122

122-
doctest.testmod()
123+
doctest.testmod()

0 commit comments

Comments
 (0)