[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-08-21 18:28:38 +00:00
parent cfb91ebdef
commit 332f34cba3
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@ def timer(func: callable) -> callable:
def wrapper(*args: Any, **kwargs: Any) -> Any:
"""
Wraps the given function and measures its execution time.
:param args: Positional arguments for the function.
:param kwargs: Keyword arguments for the function.
:return: The result of the wrapped function.
@ -135,6 +135,7 @@ if __name__ == "__main__":
primeproduct(n)
prime_factors(n)
import doctest
doctest.NORMALIZE_WHITESPACE
doctest.testmod()

View File

@ -16,7 +16,7 @@ def timer(func: callable) -> callable:
def wrapper(*args: Any, **kwargs: Any) -> Any:
"""
Wraps the given function and measures its execution time.
:param args: Positional arguments for the function.
:param kwargs: Keyword arguments for the function.
:return: The result of the wrapped function.
@ -135,6 +135,7 @@ if __name__ == "__main__":
primeproduct(n)
prime_factors(n)
import doctest
doctest.NORMALIZE_WHITESPACE
doctest.testmod()