Skip to content
codefactor.io / CodeFactor succeeded Jan 2, 2025 in 4s

7 minor issues found.

Annotations

Check notice on line 228 in pennylane/labs/resource_estimation/ops/qubit/non_parametric_ops.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/labs/resource_estimation/ops/qubit/non_parametric_ops.py#L228

Final newline missing (missing-final-newline)

Check notice on line 45 in pennylane/devices/tests/test_gates_with_expval.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/devices/tests/test_gates_with_expval.py#L45

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 203 in pennylane/devices/tests/test_gates_with_expval.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/devices/tests/test_gates_with_expval.py#L203

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 135 in pennylane/devices/tests/test_gates_with_expval.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/devices/tests/test_gates_with_expval.py#L135

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 74 in pennylane/devices/tests/test_gates_with_expval.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/devices/tests/test_gates_with_expval.py#L74

Too many positional arguments (6/5) (too-many-positional-arguments)

Check notice on line 1905 in pennylane/ops/qubit/non_parametric_ops.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/qubit/non_parametric_ops.py#L1905

Final newline missing (missing-final-newline)

Check notice on line 1248 in pennylane/ops/qubit/non_parametric_ops.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pennylane/ops/qubit/non_parametric_ops.py#L1248

Attribute '_inverse' defined outside __init__ (attribute-defined-outside-init)