Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 30, 2024
1 parent b265583 commit 950a633
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/qibolab/sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from .pulses import Pulse
from .serialize import Model


_PULSE = "pulse"
_CHANNEL = "channel"

Expand All @@ -27,7 +26,7 @@ class Parameter(Enum):
@classmethod
def channels(cls) -> set["Parameter"]:
"""Set of parameters to be swept on the channel."""
return set(p for p in cls if p.value[1] == _CHANNEL)
return {p for p in cls if p.value[1] == _CHANNEL}


_Field = tuple[Any, str]
Expand Down

0 comments on commit 950a633

Please sign in to comment.