Skip to content

Added Unit Tests for Shor’s Algorithm (#12318) #12432

Added Unit Tests for Shor’s Algorithm (#12318)

Added Unit Tests for Shor’s Algorithm (#12318) #12432

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Ruff (INP001): tests/cryptography/test_shor_algorithm.py#L1
tests/cryptography/test_shor_algorithm.py:1:1: INP001 File `tests/cryptography/test_shor_algorithm.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (I001): tests/cryptography/test_shor_algorithm.py#L1
tests/cryptography/test_shor_algorithm.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (PT006): tests/cryptography/test_shor_algorithm.py#L4
tests/cryptography/test_shor_algorithm.py:4:26: PT006 Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
Ruff (N803): tests/cryptography/test_shor_algorithm.py#L10
tests/cryptography/test_shor_algorithm.py:10:25: N803 Argument name `N` should be lowercase
ruff
Process completed with exit code 1.