From 6a882f6407768a8eae0d5f6c1bf851b4aa875514 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 10:05:08 -0600 Subject: [PATCH] Bump ruff from 0.8.4 to 0.9.4 (#135) * Bump ruff from 0.8.4 to 0.9.4 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.4 to 0.9.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.8.4...0.9.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update source --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Caleb Johnson --- pyproject.toml | 2 +- qiskit_addon_sqd/qubit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 295491a..03e16bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ nbtest = [ "nbmake>=1.5.0", ] style = [ - "ruff==0.8.4", + "ruff==0.9.4", "nbqa>=1.8.5", ] lint = [ diff --git a/qiskit_addon_sqd/qubit.py b/qiskit_addon_sqd/qubit.py index 54ad6e9..f343527 100644 --- a/qiskit_addon_sqd/qubit.py +++ b/qiskit_addon_sqd/qubit.py @@ -128,7 +128,7 @@ def project_operator_to_subspace( if verbose: # pragma: no cover ( print( - f"Projecting term {i+1} out of {hamiltonian.size}: {coefficient} * " + f"Projecting term {i + 1} out of {hamiltonian.size}: {coefficient} * " + "".join(pauli.to_label()) + " ..." )