Skip to content

Added classical implementation of Shor’s Algorithm #12430

Added classical implementation of Shor’s Algorithm

Added classical implementation of Shor’s Algorithm #12430

Triggered via pull request January 29, 2025 14:19
Status Failure
Total duration 16s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Ruff (INP001): algorithms/cryptography/shor_algorithm.py#L1
algorithms/cryptography/shor_algorithm.py:1:1: INP001 File `algorithms/cryptography/shor_algorithm.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (I001): algorithms/cryptography/shor_algorithm.py#L1
algorithms/cryptography/shor_algorithm.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): algorithms/cryptography/shor_algorithm.py#L1
algorithms/cryptography/shor_algorithm.py:1:8: F401 `math` imported but unused
Ruff (N803): algorithms/cryptography/shor_algorithm.py#L20
algorithms/cryptography/shor_algorithm.py:20:19: N803 Argument name `N` should be lowercase
Ruff (N803): algorithms/cryptography/shor_algorithm.py#L29
algorithms/cryptography/shor_algorithm.py:29:20: N803 Argument name `N` should be lowercase
Ruff (RUF002): algorithms/cryptography/shor_algorithm.py#L30
algorithms/cryptography/shor_algorithm.py:30:22: RUF002 Docstring contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
ruff
Process completed with exit code 1.