Skip to content

Commit

Permalink
Fix lint errors in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Dec 10, 2024
1 parent 5cbb3ed commit 0dbbefa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ py-version = "3.9"
disable = ["all"]
enable = [
"reimported",
"no-self-use",
"no-else-raise",
"redefined-argument-from-local",
"redefined-builtin",
Expand Down
2 changes: 1 addition & 1 deletion qiskit_addon_sqd/counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def generate_counts_bipartite_hamming(
bts_arr = np.zeros(num_bits)
bts_arr[dn_flips] = 1
bts_arr[up_flips + num_bits // 2] = 1
bts_arr = bts_arr.astype("int")
bts_arr = bts_arr.astype("int") # type: ignore
bts = "".join("1" if bit else "0" for bit in bts_arr)

# Add the bitstring to the sample dict
Expand Down

0 comments on commit 0dbbefa

Please sign in to comment.