Feat/shor classical implementation #13248
Annotations
10 errors
Ruff (UP006):
cryptography/shor_algorithm.py#L51
cryptography/shor_algorithm.py:51:66: UP006 Use `tuple` instead of `Tuple` for type annotation
|
Ruff (UP007):
cryptography/shor_algorithm.py#L51
cryptography/shor_algorithm.py:51:55: UP007 Use `X | Y` for type annotations
|
Ruff (N803):
cryptography/shor_algorithm.py#L51
cryptography/shor_algorithm.py:51:20: N803 Argument name `N` should be lowercase
|
Ruff (SIM110):
cryptography/shor_algorithm.py#L28
cryptography/shor_algorithm.py:28:5: SIM110 Use `return all(n % i != 0 for i in range(3, r + 1, 2))` instead of `for` loop
|
Ruff (RUF046):
cryptography/shor_algorithm.py#L27
cryptography/shor_algorithm.py:27:9: RUF046 Value being cast to `int` is already an integer
|
Ruff (UP035):
cryptography/shor_algorithm.py#L9
cryptography/shor_algorithm.py:9:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
|
Ruff (I001):
cryptography/shor_algorithm.py#L7
cryptography/shor_algorithm.py:7:1: I001 Import block is un-sorted or un-formatted
|
Ruff (PT028):
ciphers/shuffled_shift_cipher.py#L172
ciphers/shuffled_shift_cipher.py:172:32: PT028 Test function parameter `msg` has default argument
|
Ruff (RUF057):
ciphers/hill_cipher.py#L82
ciphers/hill_cipher.py:82:32: RUF057 Value being rounded is already an integer
|
Ruff (PLC0415):
ciphers/atbash.py#L43
ciphers/atbash.py:43:5: PLC0415 `import` should be at the top-level of a file
|