Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFerracin committed Aug 21, 2024
1 parent 671dbdd commit bee6184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -c constraints.txt -r requirements-dev.txt -e .
pip install -c constraints.txt -r requirements-dev.txt -r requirements-visual.txt -e .
- name: Run black
run: make style
- name: Run lint
Expand Down
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/visualization/draw_layer_error_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def draw_layer_error_map(
if backend.coupling_map is None:
raise ValueError("Given backend has no coupling map.")
# A set of unique edges ``(i, j)``, with ``i < j``.
edges = set([tuple(sorted(edge)) for edge in list(backend.coupling_map)])
edges = set(tuple(sorted(edge)) for edge in list(backend.coupling_map))

# The highest rate, used to normalize all other rates before choosing their colors.
high_scale = 0
Expand Down

0 comments on commit bee6184

Please sign in to comment.