Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Mar 21, 2024
1 parent 0740cad commit 45129a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qiskit/compiler/transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def callback_func(**kwargs):
# it is invalidated by a custom basis gate list, custom coupling map,
# custom dt or custom instruction_durations
elif (
basis_gates is not None
basis_gates is not None # pylint: disable=too-many-boolean-expressions
or coupling_map is not None
or dt is not None
or instruction_durations is not None
Expand Down
4 changes: 2 additions & 2 deletions test/python/compiler/test_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
from qiskit.exceptions import QiskitError
from qiskit.providers.backend import BackendV2
from qiskit.providers.backend_compat import BackendV2Converter
from qiskit.providers.fake_provider import Fake5QV1, Fake20QV1, Fake27QPulseV1, GenericBackendV2
from qiskit.providers.fake_provider import Fake20QV1, Fake27QPulseV1, GenericBackendV2
from qiskit.providers.basic_provider import BasicSimulator
from qiskit.providers.options import Options
from qiskit.pulse import InstructionScheduleMap, Schedule, Play, Gaussian, DriveChannel
Expand All @@ -96,7 +96,7 @@

from test import QiskitTestCase, combine, slow_test # pylint: disable=wrong-import-order

from ..legacy_cmaps import MELBOURNE_CMAP, RUESCHLIKON_CMAP, TOKYO_CMAP
from ..legacy_cmaps import MELBOURNE_CMAP, RUESCHLIKON_CMAP


class CustomCX(Gate):
Expand Down

0 comments on commit 45129a6

Please sign in to comment.