[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] 2024-10-29 10:37:02 +00:00
parent ebf66fb78c
commit 73ffa2485d

View File

@ -30,8 +30,8 @@ class Shor:
while pow(num, start, number) != 1:
start += 1
return start
def shor_algorithm(self, number:int) -> tuple[int, int]:
def shor_algorithm(self, number: int) -> tuple[int, int]:
"""
Run Shor's algorithm to factor a number.
>>> shor = Shor()