Skip to content

Commit 20cbbfc

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sorts/bubble_sort.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,13 @@ def bubble_sort_recursive(collection: list[Any]) -> list[Any]:
107107

108108

109109
if __name__ == "__main__":
110-
111-
#doctest is a Python module used for testing your code automatically.
110+
# doctest is a Python module used for testing your code automatically.
112111
import doctest
113-
#sample : It picks unique random items from a list, set, or sequence.
112+
113+
# sample : It picks unique random items from a list, set, or sequence.
114114
from random import sample
115-
#timeit is used to measure how long a piece of code takes to run.
115+
116+
# timeit is used to measure how long a piece of code takes to run.
116117
from timeit import timeit
117118

118119
doctest.testmod()

0 commit comments

Comments
 (0)