Skip to content

Commit 0876454

Browse files
committed
Rerun precommit hooks
1 parent 453c81c commit 0876454

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

src/qcodes/instrument/channel.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ class InstrumentChannel(InstrumentModule[_TIB_co], Generic[_TIB_co]):
9898
pass
9999

100100

101-
class ChannelTuple[InstrumentModuleType: "InstrumentModule"](MetadatableWithName, Sequence[InstrumentModuleType]):
101+
class ChannelTuple[InstrumentModuleType: "InstrumentModule"](
102+
MetadatableWithName, Sequence[InstrumentModuleType]
103+
):
102104
"""
103105
Container for channelized parameters that allows for sweeps over
104106
all channels, as well as addressing of individual channels.
@@ -1158,8 +1160,9 @@ def exists_on_instrument(self) -> bool:
11581160
return self._exists_on_instrument
11591161

11601162

1161-
1162-
class AutoLoadableChannelList[TAUTORELOADCHANNEL: AutoLoadableInstrumentChannel](ChannelList[TAUTORELOADCHANNEL]):
1163+
class AutoLoadableChannelList[TAUTORELOADCHANNEL: AutoLoadableInstrumentChannel](
1164+
ChannelList[TAUTORELOADCHANNEL]
1165+
):
11631166
"""
11641167
Extends the QCoDeS :class:`ChannelList` class to add the following features:
11651168
- Automatically create channel objects on initialization

src/qcodes/instrument/instrument.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def ask(self, cmd: str) -> str: ...
3131
def write(self, cmd: str) -> None: ...
3232

3333

34-
3534
# a metaclass that overrides __call__ means that we lose
3635
# both the args and return type hints.
3736
# Since our metaclass does not modify the signature
@@ -279,7 +278,9 @@ def find_instrument(
279278

280279
@overload
281280
@classmethod
282-
def find_instrument[T: "Instrument"](cls, name: str, instrument_class: type[T]) -> T: ...
281+
def find_instrument[T: "Instrument"](
282+
cls, name: str, instrument_class: type[T]
283+
) -> T: ...
283284

284285
@classmethod
285286
def find_instrument[T: "Instrument"](

src/qcodes/instrument_drivers/QuantumDesign/DynaCoolPPMS/DynaCool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
from qcodes.parameters import Parameter
1717

18+
1819
class DynaCool(VisaInstrument):
1920
"""
2021
Class to represent the DynaCoolPPMS

src/qcodes/validators/validators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def range_str(
6262
return ""
6363

6464

65-
6665
class Validator[T]:
6766
"""
6867
Base class for all value validators

0 commit comments

Comments
 (0)