Skip to content

Added classical implementation of Shor’s Algorithm #12431

Added classical implementation of Shor’s Algorithm

Added classical implementation of Shor’s Algorithm #12431

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 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 (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#L23
algorithms/cryptography/shor_algorithm.py:23:19: N803 Argument name `N` should be lowercase
Ruff (N803): algorithms/cryptography/shor_algorithm.py#L33
algorithms/cryptography/shor_algorithm.py:33:20: N803 Argument name `N` should be lowercase
Ruff (RUF002): algorithms/cryptography/shor_algorithm.py#L34
algorithms/cryptography/shor_algorithm.py:34:22: RUF002 Docstring contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
ruff
Process completed with exit code 1.