From 73ffa2485d61b1b248c8dc11d87e4b287c673fa7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:37:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- quantum/shor_algorithm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quantum/shor_algorithm.py b/quantum/shor_algorithm.py index 28d6d2fd1..6058259fd 100644 --- a/quantum/shor_algorithm.py +++ b/quantum/shor_algorithm.py @@ -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()