From f5d2d7978309497214811858657c40e58ded67b8 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 2 Oct 2023 19:33:33 -0700 Subject: [PATCH 01/10] refactor: Updated linting directives and settings to enable Python 3.12 linting to function correctly. --- pyproject.toml | 10 ++-- src/tm_devices/commands/_163n04_mdo/search.py | 19 -------- src/tm_devices/commands/_16x4xq_mdo/search.py | 19 -------- .../commands/_1jzp7o_mdodpo/trigger.py | 32 ------------- src/tm_devices/commands/_1kdqwg_mdo/search.py | 19 -------- .../commands/_1kdqwg_mdo/trigger.py | 32 ------------- src/tm_devices/commands/_1kjd62_mdo/rf.py | 2 - src/tm_devices/commands/_1kozfv_dpo/search.py | 19 -------- .../commands/_1l4fot_mdomso/cursor.py | 3 -- .../commands/_1la1ym_msomdodpo/trigger.py | 32 ------------- .../commands/_1lh2st_msodpo/search.py | 19 -------- .../commands/_1ltpwt_mdomsodpo/auxin.py | 1 - .../commands/_1ltpwt_mdomsodpo/bus.py | 9 ---- .../commands/_1ltpwt_mdomsodpo/calibrate.py | 5 -- .../commands/_1ltpwt_mdomsodpo/ch.py | 1 - .../commands/_1ltpwt_mdomsodpo/gpibusb.py | 1 - .../commands/_1ltpwt_mdomsodpo/marker.py | 1 - .../commands/_1ltpwt_mdomsodpo/save.py | 1 - .../commands/_1ltpwt_mdomsodpo/vidpic.py | 2 - .../commands/_1lxxm9_msomdodpo/cursor.py | 3 -- .../_1mlt9u_mdomsodpo/configuration.py | 2 - .../commands/_1mlt9u_mdomsodpo/display.py | 1 - .../commands/_1mlt9u_mdomsodpo/select.py | 3 -- src/tm_devices/commands/_1mq0z9_msodpo/rf.py | 2 - src/tm_devices/commands/_1zn03_mso/bus.py | 2 - src/tm_devices/commands/_1zn03_mso/dch.py | 1 - src/tm_devices/commands/_1zn03_mso/display.py | 12 ----- .../commands/_1zn03_mso/measurement.py | 2 - src/tm_devices/commands/_1zn03_mso/search.py | 7 --- src/tm_devices/commands/_1zn03_mso/trigger.py | 9 ---- .../commands/_22daqs_afg/source1.py | 4 -- .../commands/_22daqs_afg/source2.py | 4 -- src/tm_devices/commands/_2i1z2s_awg/wlist.py | 6 --- .../commands/_32dszm_awg/awgcontrol.py | 1 - src/tm_devices/commands/_32dszm_awg/source.py | 1 - .../commands/_3rs8qy_awg/awgcontrol.py | 1 - src/tm_devices/commands/_3rs8qy_awg/output.py | 3 -- src/tm_devices/commands/_3rs8qy_awg/system.py | 1 - src/tm_devices/commands/_3rs8qy_awg/wlist.py | 6 --- .../commands/_3skc3w_dpo/trigger.py | 48 ------------------- .../commands/_3tjgb2_dpo/trigger.py | 46 ------------------ .../commands/_4jiykk_dpo/idnmultiscope.py | 4 -- .../commands/_4jiykk_dpo/trigger.py | 46 ------------------ .../commands/_561g9r_mso/trigger.py | 46 ------------------ src/tm_devices/commands/_5ri0nj_dpomso/bus.py | 3 -- .../commands/_5vmwut_dpodsamso/trigger.py | 48 ------------------- .../commands/_5y90wx_dpodsamso/auxin.py | 3 -- .../commands/_5y90wx_dpodsamso/calibrate.py | 2 - .../commands/_5y90wx_dpodsamso/ch.py | 4 -- .../commands/_5y90wx_dpodsamso/cursor.py | 1 - .../commands/_5y90wx_dpodsamso/d.py | 1 - .../commands/_5y90wx_dpodsamso/display.py | 1 - .../commands/_5y90wx_dpodsamso/dpojet.py | 15 ------ .../commands/_5y90wx_dpodsamso/email.py | 1 - .../commands/_5y90wx_dpodsamso/gpibusb.py | 1 - .../commands/_5y90wx_dpodsamso/horizontal.py | 19 -------- .../commands/_5y90wx_dpodsamso/limit.py | 1 - .../commands/_5y90wx_dpodsamso/measurement.py | 2 - .../commands/_5y90wx_dpodsamso/search.py | 34 ------------- .../commands/_5y90wx_dpodsamso/select.py | 3 -- .../commands/_5y90wx_dpodsamso/trig.py | 1 - .../commands/_5y90wx_dpodsamso/zoom.py | 2 - .../commands/_5yyb4r_mso/trigger.py | 48 ------------------- .../commands/_60ea5c_dpodsamso/bus.py | 3 -- .../commands/_6vynmi_smu/trigger.py | 1 - .../commands/_6w7311_smu/trigger.py | 1 - .../commands/_7kqm9p_smu/buffervar.py | 1 - src/tm_devices/commands/_7ryhce_smu/status.py | 8 ++-- src/tm_devices/commands/_7s2p1p_smu/smux.py | 12 ----- src/tm_devices/commands/_7s2p1p_smu/status.py | 6 +-- src/tm_devices/commands/_7s43m8_smu/status.py | 8 ++-- src/tm_devices/commands/_7s6wr5_smu/status.py | 6 +-- src/tm_devices/commands/_8ojdkz_smu/smux.py | 12 ----- src/tm_devices/commands/_8ojdkz_smu/status.py | 8 ++-- src/tm_devices/commands/_8wm55i_smu/smux.py | 12 ----- src/tm_devices/commands/_9kezla_smu/smux.py | 12 ----- src/tm_devices/commands/_9mzp2j_smu/digio.py | 2 - .../commands/_9mzp2j_smu/tsplink.py | 2 - src/tm_devices/commands/_9nnkq7_smu/status.py | 8 ++-- src/tm_devices/commands/_9slyux_smu/status.py | 6 +-- .../commands/_ahkybr_smu/buffervar.py | 1 - src/tm_devices/commands/_ak4990_smu/smux.py | 12 ----- src/tm_devices/commands/_am6pcr_smu/smux.py | 12 ----- src/tm_devices/commands/_am6pcr_smu/status.py | 6 +-- src/tm_devices/commands/_amm5lc_smu/digio.py | 2 - .../commands/_amm5lc_smu/tsplink.py | 2 - src/tm_devices/commands/_as1ejq_smu/smux.py | 12 ----- src/tm_devices/commands/_as1ejq_smu/status.py | 6 +-- src/tm_devices/commands/_au597k_smu/digio.py | 2 - .../commands/_au597k_smu/tsplink.py | 2 - src/tm_devices/commands/_awhjao_smu/status.py | 8 ++-- .../commands/_by991s_smudaq/status.py | 2 +- src/tm_devices/commands/_c3g63_lpdmso/bus.py | 12 ----- src/tm_devices/commands/_c3g63_lpdmso/ch.py | 3 -- .../commands/_c3g63_lpdmso/diggrp.py | 1 - .../commands/_c3g63_lpdmso/display.py | 12 ----- .../commands/_c3g63_lpdmso/measurement.py | 3 -- src/tm_devices/commands/_c3g63_lpdmso/plot.py | 1 - src/tm_devices/commands/_c3g63_lpdmso/ref.py | 1 - .../commands/_c3g63_lpdmso/search.py | 32 ------------- src/tm_devices/commands/_c3g63_lpdmso/sv.py | 3 -- .../commands/_c3g63_lpdmso/trigger.py | 28 ----------- .../commands/_c69b1_lpdmso/callouts.py | 2 - .../commands/_c69b1_lpdmso/vertical.py | 1 - src/tm_devices/commands/_canxny_daq/buffer.py | 2 +- .../commands/_canxny_daq/buffervar.py | 1 - .../commands/_canxny_daq/trigger.py | 2 - .../commands/_d6b496_dmm/buffervar.py | 1 - .../commands/_d6b496_dmm/trigger.py | 2 - src/tm_devices/commands/_d83qe0_dmm/buffer.py | 2 +- .../commands/_d83qe0_dmm/buffervar.py | 1 - .../commands/_d83qe0_dmm/trigger.py | 2 - src/tm_devices/commands/_daq6510_commands.py | 19 ++++---- src/tm_devices/commands/_dmm6500_commands.py | 19 ++++---- src/tm_devices/commands/_dmm7510_commands.py | 19 ++++---- src/tm_devices/commands/_dpo2k_commands.py | 3 -- src/tm_devices/commands/_dpo2kb_commands.py | 3 -- src/tm_devices/commands/_dpo4k_commands.py | 4 -- src/tm_devices/commands/_dpo4kb_commands.py | 4 -- src/tm_devices/commands/_dpo5kb_commands.py | 4 -- src/tm_devices/commands/_dpo70kc_commands.py | 4 -- src/tm_devices/commands/_dpo70kd_commands.py | 4 -- src/tm_devices/commands/_dpo70kdx_commands.py | 4 -- src/tm_devices/commands/_dpo70ksx_commands.py | 4 -- src/tm_devices/commands/_dpo7kc_commands.py | 4 -- src/tm_devices/commands/_dsa70kc_commands.py | 4 -- src/tm_devices/commands/_dsa70kd_commands.py | 4 -- .../commands/_e3pief_ss/buffervar.py | 1 - src/tm_devices/commands/_e3pief_ss/channel.py | 4 -- src/tm_devices/commands/_e3pief_ss/digio.py | 2 - src/tm_devices/commands/_e3pief_ss/dmm.py | 2 - src/tm_devices/commands/_e3pief_ss/ptp.py | 1 - src/tm_devices/commands/_e3pief_ss/tsplink.py | 2 - .../commands/_efap3f_smuss/timer.py | 1 - src/tm_devices/commands/_lpd6_commands.py | 3 -- src/tm_devices/commands/_mdo3_commands.py | 4 -- src/tm_devices/commands/_mdo3k_commands.py | 4 -- src/tm_devices/commands/_mdo4k_commands.py | 4 -- src/tm_devices/commands/_mdo4kb_commands.py | 4 -- src/tm_devices/commands/_mdo4kc_commands.py | 4 -- src/tm_devices/commands/_mso2_commands.py | 3 -- src/tm_devices/commands/_mso2k_commands.py | 3 -- src/tm_devices/commands/_mso2kb_commands.py | 3 -- src/tm_devices/commands/_mso4_commands.py | 3 -- src/tm_devices/commands/_mso4k_commands.py | 4 -- src/tm_devices/commands/_mso4kb_commands.py | 4 -- src/tm_devices/commands/_mso5_commands.py | 3 -- src/tm_devices/commands/_mso5b_commands.py | 3 -- src/tm_devices/commands/_mso5kb_commands.py | 4 -- src/tm_devices/commands/_mso5lp_commands.py | 3 -- src/tm_devices/commands/_mso6_commands.py | 3 -- src/tm_devices/commands/_mso6b_commands.py | 3 -- src/tm_devices/commands/_mso70kc_commands.py | 4 -- src/tm_devices/commands/_mso70kdx_commands.py | 4 -- src/tm_devices/commands/_smu2450_commands.py | 19 ++++---- src/tm_devices/commands/_smu2460_commands.py | 19 ++++---- src/tm_devices/commands/_smu2461_commands.py | 19 ++++---- src/tm_devices/commands/_smu2470_commands.py | 19 ++++---- src/tm_devices/commands/_smu2601b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2602b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2604b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2606b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2611b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2612b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2614b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2634b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2635b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2636b_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2651a_commands.py | 37 +++++++------- src/tm_devices/commands/_smu2657a_commands.py | 37 +++++++------- src/tm_devices/commands/_ss3706a_commands.py | 29 +++++------ .../commands/_u301s_msodpo/auxin.py | 1 - src/tm_devices/commands/_u301s_msodpo/bus.py | 8 ---- src/tm_devices/commands/_u301s_msodpo/ch.py | 1 - .../commands/_u301s_msodpo/cursor.py | 3 -- src/tm_devices/commands/_u301s_msodpo/diag.py | 1 - .../commands/_u301s_msodpo/gpibusb.py | 1 - .../commands/_u301s_msodpo/search.py | 13 ----- .../commands/_u301s_msodpo/select.py | 2 - .../commands/_u301s_msodpo/trigger.py | 18 ------- .../commands/_ujuvb_mdo/configuration.py | 2 - src/tm_devices/commands/_ujuvb_mdo/cursor.py | 3 -- src/tm_devices/commands/_ujuvb_mdo/display.py | 1 - src/tm_devices/commands/_ujuvb_mdo/rf.py | 2 - src/tm_devices/commands/_ujuvb_mdo/search.py | 17 ------- src/tm_devices/commands/_ujuvb_mdo/select.py | 3 -- src/tm_devices/commands/_ujuvb_mdo/trigger.py | 29 ----------- src/tm_devices/commands/_usaa3_mdo/rf.py | 2 - src/tm_devices/commands/_usaa3_mdo/search.py | 19 -------- src/tm_devices/commands/_usaa3_mdo/trigger.py | 32 ------------- 190 files changed, 324 insertions(+), 1534 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e8f28352..256b69dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,7 +79,7 @@ version = "0.1.13" [tool.poetry.dependencies] check4updates = ">=0.0.2" gpib-ctypes = ">=0.3.0" -libusb-package = ">=1.0.26.0" +libusb-package = ">=1.0.26.0,!=1.0.26.2" # 1.0.26.2 doesn't work with Python 3.12 packaging = ">=21.3" psutil = ">=5.9.2" pyserial = ">=3.5" @@ -164,6 +164,7 @@ ignore-patterns = [ "^\\.idea", "^\\.results.*", "^\\.tox", + "^\\.venv.*", "^\\.vscode", "^temp_.*\\..*" ] @@ -171,7 +172,6 @@ jobs = 0 load-plugins = """ pylint.extensions.check_elif, pylint.extensions.code_style, -pylint.extensions.comparetozero, pylint.extensions.comparison_placement, pylint.extensions.consider_refactoring_into_while_condition, pylint.extensions.dict_init_mutate, @@ -210,6 +210,7 @@ disable = [ "too-many-statements", # caught by ruff "unused-argument", # caught by ruff "unused-import", # caught by ruff + "use-implicit-booleaness-not-comparison-to-string", # caught by ruff "while-used", # using while loops in example scripts "wrong-import-order" # caught by ruff ] @@ -377,10 +378,10 @@ legacy_tox_ini = """ [tox] requires = tox>4 isolated_build = True -envlist = py38,py39,py310,py311,tests,docs,doctests +envlist = py38,py39,py310,py311,py312,tests,docs,doctests skip_missing_interpreters = True labels = - basic = py38,py39,py310,py311,tests + basic = py38,py39,py310,py311,py312,tests documentation = docs,doctests [gh-actions] @@ -389,6 +390,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] package = wheel diff --git a/src/tm_devices/commands/_163n04_mdo/search.py b/src/tm_devices/commands/_163n04_mdo/search.py index 03946342..1401db5f 100644 --- a/src/tm_devices/commands/_163n04_mdo/search.py +++ b/src/tm_devices/commands/_163n04_mdo/search.py @@ -761,7 +761,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3538,7 +3537,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3953,7 +3951,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -4364,7 +4361,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4924,7 +4920,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4974,7 +4969,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -5557,7 +5551,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -6425,7 +6418,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -6474,7 +6466,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -6491,7 +6482,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -8666,7 +8656,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -8683,7 +8672,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -9531,7 +9519,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -9636,7 +9623,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -16271,7 +16257,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -17690,7 +17675,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -18109,7 +18093,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -19072,7 +19055,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTrigABusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTrigABusBItem]: """Return the ``SEARCH:SEARCH:TRIG:A:BUS:B`` command tree. @@ -19138,7 +19120,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigA: """Return the ``SEARCH:SEARCH:TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_16x4xq_mdo/search.py b/src/tm_devices/commands/_16x4xq_mdo/search.py index f1bb93f6..f690ed15 100644 --- a/src/tm_devices/commands/_16x4xq_mdo/search.py +++ b/src/tm_devices/commands/_16x4xq_mdo/search.py @@ -723,7 +723,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3500,7 +3499,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3915,7 +3913,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -4326,7 +4323,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4886,7 +4882,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4936,7 +4931,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -5519,7 +5513,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -6387,7 +6380,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -6436,7 +6428,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -6453,7 +6444,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -8628,7 +8618,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -8645,7 +8634,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -9493,7 +9481,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -9598,7 +9585,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -14802,7 +14788,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -16211,7 +16196,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -16630,7 +16614,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -16881,7 +16864,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTrigABusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTrigABusBItem]: """Return the ``SEARCH:SEARCH:TRIG:A:BUS:B`` command tree. @@ -16946,7 +16928,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigA: """Return the ``SEARCH:SEARCH:TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_1jzp7o_mdodpo/trigger.py b/src/tm_devices/commands/_1jzp7o_mdodpo/trigger.py index 438bd83e..0baaa1f1 100644 --- a/src/tm_devices/commands/_1jzp7o_mdodpo/trigger.py +++ b/src/tm_devices/commands/_1jzp7o_mdodpo/trigger.py @@ -789,7 +789,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -821,7 +820,6 @@ def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLowerthresholdDigitalBit]: """Return the ``TRIGger:B:LOWerthreshold:D`` command. @@ -946,7 +944,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -977,7 +974,6 @@ def ch(self) -> Dict[int, TriggerBLevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLevelDigitalBit]: """Return the ``TRIGger:B:LEVel:D`` command. @@ -1359,7 +1355,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._time = TriggerBTime(device, f"{self._cmd_syntax}:TIMe") self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -2460,7 +2455,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerAUpperthresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -2491,7 +2485,6 @@ def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def rf(self) -> TriggerAUpperthresholdRf: """Return the ``TRIGger:A:UPPerthreshold:RF`` command. @@ -3121,7 +3114,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """Return the ``TRIGger:A:SETHold:THReshold:CH`` command. @@ -3153,7 +3145,6 @@ def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdThresholdDigitalBit]: """Return the ``TRIGger:A:SETHold:THReshold:D`` command. @@ -5006,7 +4997,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._aux = TriggerALowerthresholdAux(device, f"{self._cmd_syntax}:AUX") self._ext = TriggerALowerthresholdExt(device, f"{self._cmd_syntax}:EXT") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -5037,7 +5027,6 @@ def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """Return the ``TRIGger:A:LOWerthreshold:D`` command. @@ -5068,7 +5057,6 @@ def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALowerthresholdRf: """Return the ``TRIGger:A:LOWerthreshold:RF`` command. @@ -5268,7 +5256,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicThresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -5299,7 +5286,6 @@ def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """Return the ``TRIGger:A:LOGIc:THReshold:D`` command. @@ -5329,7 +5315,6 @@ def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicThresholdRf: """Return the ``TRIGger:A:LOGIc:THReshold:RF`` command. @@ -5786,7 +5771,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicInputRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -5830,7 +5814,6 @@ def clock(self) -> TriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:INPut:D`` command. @@ -5860,7 +5843,6 @@ def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicInputRf: """Return the ``TRIGger:A:LOGIc:INPut:RF`` command. @@ -6296,7 +6278,6 @@ def auxin(self) -> TriggerALevelAuxin: """ return self._auxin - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -6328,7 +6309,6 @@ def ch(self) -> Dict[int, TriggerALevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALevelDigitalBit]: """Return the ``TRIGger:A:LEVel:D`` command. @@ -7146,7 +7126,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusBItemUsbSplitEt: """Return the ``TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -7194,7 +7173,6 @@ def port(self) -> TriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusBItemUsbSplitSc: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -7210,7 +7188,6 @@ def sc(self) -> TriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusBItemUsbSplitSe: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -9241,7 +9218,6 @@ def condition(self) -> TriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> TriggerABusBItemRs232cRx: """Return the ``TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -9256,7 +9232,6 @@ def rx(self) -> TriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> TriggerABusBItemRs232cTx: """Return the ``TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -10071,7 +10046,6 @@ def instr(self) -> TriggerABusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusBItemMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -10183,7 +10157,6 @@ def subsf(self) -> TriggerABusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusBItemMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -15114,7 +15087,6 @@ def data(self) -> TriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -16422,7 +16394,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -16602,7 +16573,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._rf = TriggerABandwidthRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def rf(self) -> TriggerABandwidthRf: """Return the ``TRIGger:A:BANDWidth:RF`` command tree. @@ -17174,7 +17144,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._frequency = TriggerFrequency(device, f"{self._cmd_syntax}:FREQuency") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -17225,7 +17194,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_1kdqwg_mdo/search.py b/src/tm_devices/commands/_1kdqwg_mdo/search.py index 21a74693..cb644e98 100644 --- a/src/tm_devices/commands/_1kdqwg_mdo/search.py +++ b/src/tm_devices/commands/_1kdqwg_mdo/search.py @@ -767,7 +767,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3544,7 +3543,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3959,7 +3957,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -4370,7 +4367,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4930,7 +4926,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4980,7 +4975,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -5563,7 +5557,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -6431,7 +6424,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -6480,7 +6472,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -6497,7 +6488,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -8672,7 +8662,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -8689,7 +8678,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -9537,7 +9525,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -9642,7 +9629,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -16277,7 +16263,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -17944,7 +17929,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -18363,7 +18347,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -19326,7 +19309,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTrigABusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTrigABusBItem]: """Return the ``SEARCH:SEARCH:TRIG:A:BUS:B`` command tree. @@ -19392,7 +19374,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigA: """Return the ``SEARCH:SEARCH:TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_1kdqwg_mdo/trigger.py b/src/tm_devices/commands/_1kdqwg_mdo/trigger.py index 9747cf6a..2bf6231a 100644 --- a/src/tm_devices/commands/_1kdqwg_mdo/trigger.py +++ b/src/tm_devices/commands/_1kdqwg_mdo/trigger.py @@ -835,7 +835,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -867,7 +866,6 @@ def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLowerthresholdDigitalBit]: """Return the ``TRIGger:B:LOWerthreshold:D`` command. @@ -992,7 +990,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -1023,7 +1020,6 @@ def ch(self) -> Dict[int, TriggerBLevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLevelDigitalBit]: """Return the ``TRIGger:B:LEVel:D`` command. @@ -1405,7 +1401,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._time = TriggerBTime(device, f"{self._cmd_syntax}:TIMe") self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -2506,7 +2501,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerAUpperthresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -2537,7 +2531,6 @@ def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def rf(self) -> TriggerAUpperthresholdRf: """Return the ``TRIGger:A:UPPerthreshold:RF`` command. @@ -3167,7 +3160,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """Return the ``TRIGger:A:SETHold:THReshold:CH`` command. @@ -3199,7 +3191,6 @@ def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdThresholdDigitalBit]: """Return the ``TRIGger:A:SETHold:THReshold:D`` command. @@ -5052,7 +5043,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._aux = TriggerALowerthresholdAux(device, f"{self._cmd_syntax}:AUX") self._ext = TriggerALowerthresholdExt(device, f"{self._cmd_syntax}:EXT") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -5083,7 +5073,6 @@ def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """Return the ``TRIGger:A:LOWerthreshold:D`` command. @@ -5114,7 +5103,6 @@ def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALowerthresholdRf: """Return the ``TRIGger:A:LOWerthreshold:RF`` command. @@ -5314,7 +5302,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicThresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -5345,7 +5332,6 @@ def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """Return the ``TRIGger:A:LOGIc:THReshold:D`` command. @@ -5375,7 +5361,6 @@ def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicThresholdRf: """Return the ``TRIGger:A:LOGIc:THReshold:RF`` command. @@ -5832,7 +5817,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicInputRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -5876,7 +5860,6 @@ def clock(self) -> TriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:INPut:D`` command. @@ -5906,7 +5889,6 @@ def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicInputRf: """Return the ``TRIGger:A:LOGIc:INPut:RF`` command. @@ -6342,7 +6324,6 @@ def auxin(self) -> TriggerALevelAuxin: """ return self._auxin - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -6374,7 +6355,6 @@ def ch(self) -> Dict[int, TriggerALevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALevelDigitalBit]: """Return the ``TRIGger:A:LEVel:D`` command. @@ -7192,7 +7172,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusBItemUsbSplitEt: """Return the ``TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -7240,7 +7219,6 @@ def port(self) -> TriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusBItemUsbSplitSc: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -7256,7 +7234,6 @@ def sc(self) -> TriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusBItemUsbSplitSe: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -9287,7 +9264,6 @@ def condition(self) -> TriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> TriggerABusBItemRs232cRx: """Return the ``TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -9302,7 +9278,6 @@ def rx(self) -> TriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> TriggerABusBItemRs232cTx: """Return the ``TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -10117,7 +10092,6 @@ def instr(self) -> TriggerABusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusBItemMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -10229,7 +10203,6 @@ def subsf(self) -> TriggerABusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusBItemMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -16948,7 +16921,6 @@ def data(self) -> TriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -18496,7 +18468,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -18676,7 +18647,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._rf = TriggerABandwidthRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def rf(self) -> TriggerABandwidthRf: """Return the ``TRIGger:A:BANDWidth:RF`` command tree. @@ -19248,7 +19218,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._frequency = TriggerFrequency(device, f"{self._cmd_syntax}:FREQuency") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -19299,7 +19268,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_1kjd62_mdo/rf.py b/src/tm_devices/commands/_1kjd62_mdo/rf.py index 1469f6f7..6f398d6a 100644 --- a/src/tm_devices/commands/_1kjd62_mdo/rf.py +++ b/src/tm_devices/commands/_1kjd62_mdo/rf.py @@ -2744,7 +2744,6 @@ def gain(self) -> RfProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> RfProbeId: """Return the ``RF:PRObe:ID`` command tree. @@ -3887,7 +3886,6 @@ def acpr(self) -> RfMeasureAcpr: """ return self._acpr - # pylint: disable=invalid-name @property def cp(self) -> RfMeasureCp: """Return the ``RF:MEASUre:CP`` command tree. diff --git a/src/tm_devices/commands/_1kozfv_dpo/search.py b/src/tm_devices/commands/_1kozfv_dpo/search.py index 1f2ecd09..233e328a 100644 --- a/src/tm_devices/commands/_1kozfv_dpo/search.py +++ b/src/tm_devices/commands/_1kozfv_dpo/search.py @@ -528,7 +528,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3176,7 +3175,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3459,7 +3457,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -3782,7 +3779,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4224,7 +4220,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4274,7 +4269,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -4736,7 +4730,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -5604,7 +5597,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -5653,7 +5645,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -5670,7 +5661,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -7845,7 +7835,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -7862,7 +7851,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -8710,7 +8698,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -8815,7 +8802,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -14019,7 +14005,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -15428,7 +15413,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -15840,7 +15824,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -16091,7 +16074,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTrigABusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTrigABusBItem]: """Return the ``SEARCH:SEARCH:TRIG:A:BUS:B`` command tree. @@ -16156,7 +16138,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigA: """Return the ``SEARCH:SEARCH:TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_1l4fot_mdomso/cursor.py b/src/tm_devices/commands/_1l4fot_mdomso/cursor.py index c2005cfa..ec308257 100644 --- a/src/tm_devices/commands/_1l4fot_mdomso/cursor.py +++ b/src/tm_devices/commands/_1l4fot_mdomso/cursor.py @@ -405,7 +405,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._x = CursorXyRectangularX(device, f"{self._cmd_syntax}:X") self._y = CursorXyRectangularY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def x(self) -> CursorXyRectangularX: """Return the ``CURSor:XY:RECTangular:X`` command tree. @@ -422,7 +421,6 @@ def x(self) -> CursorXyRectangularX: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> CursorXyRectangularY: """Return the ``CURSor:XY:RECTangular:Y`` command tree. @@ -2180,7 +2178,6 @@ def vbars(self) -> CursorVbars: """ return self._vbars - # pylint: disable=invalid-name @property def xy(self) -> CursorXy: """Return the ``CURSor:XY`` command tree. diff --git a/src/tm_devices/commands/_1la1ym_msomdodpo/trigger.py b/src/tm_devices/commands/_1la1ym_msomdodpo/trigger.py index 4e7fc2a1..b0675ad3 100644 --- a/src/tm_devices/commands/_1la1ym_msomdodpo/trigger.py +++ b/src/tm_devices/commands/_1la1ym_msomdodpo/trigger.py @@ -829,7 +829,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -861,7 +860,6 @@ def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLowerthresholdDigitalBit]: """Return the ``TRIGger:B:LOWerthreshold:D`` command. @@ -986,7 +984,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -1017,7 +1014,6 @@ def ch(self) -> Dict[int, TriggerBLevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLevelDigitalBit]: """Return the ``TRIGger:B:LEVel:D`` command. @@ -1399,7 +1395,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._time = TriggerBTime(device, f"{self._cmd_syntax}:TIMe") self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -2500,7 +2495,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerAUpperthresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -2531,7 +2525,6 @@ def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def rf(self) -> TriggerAUpperthresholdRf: """Return the ``TRIGger:A:UPPerthreshold:RF`` command. @@ -3161,7 +3154,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """Return the ``TRIGger:A:SETHold:THReshold:CH`` command. @@ -3193,7 +3185,6 @@ def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdThresholdDigitalBit]: """Return the ``TRIGger:A:SETHold:THReshold:D`` command. @@ -5046,7 +5037,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._aux = TriggerALowerthresholdAux(device, f"{self._cmd_syntax}:AUX") self._ext = TriggerALowerthresholdExt(device, f"{self._cmd_syntax}:EXT") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -5077,7 +5067,6 @@ def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """Return the ``TRIGger:A:LOWerthreshold:D`` command. @@ -5108,7 +5097,6 @@ def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALowerthresholdRf: """Return the ``TRIGger:A:LOWerthreshold:RF`` command. @@ -5308,7 +5296,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicThresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -5339,7 +5326,6 @@ def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """Return the ``TRIGger:A:LOGIc:THReshold:D`` command. @@ -5369,7 +5355,6 @@ def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicThresholdRf: """Return the ``TRIGger:A:LOGIc:THReshold:RF`` command. @@ -5826,7 +5811,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicInputRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -5870,7 +5854,6 @@ def clock(self) -> TriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:INPut:D`` command. @@ -5900,7 +5883,6 @@ def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicInputRf: """Return the ``TRIGger:A:LOGIc:INPut:RF`` command. @@ -6336,7 +6318,6 @@ def auxin(self) -> TriggerALevelAuxin: """ return self._auxin - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -6368,7 +6349,6 @@ def ch(self) -> Dict[int, TriggerALevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALevelDigitalBit]: """Return the ``TRIGger:A:LEVel:D`` command. @@ -7186,7 +7166,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusBItemUsbSplitEt: """Return the ``TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -7234,7 +7213,6 @@ def port(self) -> TriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusBItemUsbSplitSc: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -7250,7 +7228,6 @@ def sc(self) -> TriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusBItemUsbSplitSe: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -9281,7 +9258,6 @@ def condition(self) -> TriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> TriggerABusBItemRs232cRx: """Return the ``TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -9296,7 +9272,6 @@ def rx(self) -> TriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> TriggerABusBItemRs232cTx: """Return the ``TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -10111,7 +10086,6 @@ def instr(self) -> TriggerABusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusBItemMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -10223,7 +10197,6 @@ def subsf(self) -> TriggerABusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusBItemMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -16942,7 +16915,6 @@ def data(self) -> TriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -18257,7 +18229,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -18437,7 +18408,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._rf = TriggerABandwidthRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def rf(self) -> TriggerABandwidthRf: """Return the ``TRIGger:A:BANDWidth:RF`` command tree. @@ -19009,7 +18979,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._frequency = TriggerFrequency(device, f"{self._cmd_syntax}:FREQuency") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -19060,7 +19029,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_1lh2st_msodpo/search.py b/src/tm_devices/commands/_1lh2st_msodpo/search.py index 7139e7c4..f332072e 100644 --- a/src/tm_devices/commands/_1lh2st_msodpo/search.py +++ b/src/tm_devices/commands/_1lh2st_msodpo/search.py @@ -566,7 +566,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3214,7 +3213,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3497,7 +3495,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -3820,7 +3817,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4262,7 +4258,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4312,7 +4307,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -4774,7 +4768,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -5642,7 +5635,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -5691,7 +5683,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -5708,7 +5699,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -7883,7 +7873,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -7900,7 +7889,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -8748,7 +8736,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -8853,7 +8840,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -15488,7 +15474,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -16907,7 +16892,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -17319,7 +17303,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -18282,7 +18265,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTrigABusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTrigABusBItem]: """Return the ``SEARCH:SEARCH:TRIG:A:BUS:B`` command tree. @@ -18348,7 +18330,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigA: """Return the ``SEARCH:SEARCH:TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/auxin.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/auxin.py index c18d7c37..67f5f808 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/auxin.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/auxin.py @@ -617,7 +617,6 @@ def gain(self) -> AuxinProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> AuxinProbeId: """Return the ``AUXin:PRObe:ID`` command tree. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/bus.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/bus.py index 082f96ab..752bc081 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/bus.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/bus.py @@ -389,7 +389,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._math = BusUpperthresholdMath(device, f"{self._cmd_syntax}:MATH") self._math1 = BusUpperthresholdMath1(device, f"{self._cmd_syntax}:MATH1") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusUpperthresholdChannel]: """Return the ``BUS:UPPerthreshold:CH`` command. @@ -593,7 +592,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: BusThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusThresholdChannel]: """Return the ``BUS:THReshold:CH`` command. @@ -623,7 +621,6 @@ def ch(self) -> Dict[int, BusThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, BusThresholdDigitalBit]: """Return the ``BUS:THReshold:D`` command. @@ -801,7 +798,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._math = BusLowerthresholdMath(device, f"{self._cmd_syntax}:MATH") self._math1 = BusLowerthresholdMath1(device, f"{self._cmd_syntax}:MATH1") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusLowerthresholdChannel]: """Return the ``BUS:LOWerthreshold:CH`` command. @@ -2774,7 +2770,6 @@ def select(self) -> BusBItemSpiSelect: """ return self._select - # pylint: disable=invalid-name @property def ss(self) -> BusBItemSpiSs: """Return the ``BUS:B:SPI:SS`` command tree. @@ -3309,7 +3304,6 @@ def polarity(self) -> BusBItemRs232cPolarity: """ return self._polarity - # pylint: disable=invalid-name @property def rx(self) -> BusBItemRs232cRx: """Return the ``BUS:B:RS232C:RX`` command tree. @@ -3324,7 +3318,6 @@ def rx(self) -> BusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> BusBItemRs232cTx: """Return the ``BUS:B:RS232C:TX`` command tree. @@ -6066,7 +6059,6 @@ def bitrate(self) -> BusBItemCanBitrate: """ return self._bitrate - # pylint: disable=invalid-name @property def fd(self) -> BusBItemCanFd: """Return the ``BUS:B:CAN:FD`` command tree. @@ -8052,7 +8044,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "BUS") self._threshold = BusThreshold(device, f"{self._cmd_syntax}:THReshold") self._upperthreshold = BusUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, BusBItem]: """Return the ``BUS:B`` command tree. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/calibrate.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/calibrate.py index 76f70d30..48687fcd 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/calibrate.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/calibrate.py @@ -234,7 +234,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._rf = CalibrateResultsSpcRf(device, f"{self._cmd_syntax}:RF") self._scope = CalibrateResultsSpcScope(device, f"{self._cmd_syntax}:SCOPE") - # pylint: disable=invalid-name @property def rf(self) -> CalibrateResultsSpcRf: """Return the ``CALibrate:RESults:SPC:RF`` command. @@ -394,7 +393,6 @@ def afg(self) -> CalibrateResultsFactoryAfg: """ return self._afg - # pylint: disable=invalid-name @property def rf(self) -> CalibrateResultsFactoryRf: """Return the ``CALibrate:RESults:FACtory:RF`` command. @@ -613,7 +611,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._rf = CalibrateInternalStatusRf(device, f"{self._cmd_syntax}:RF") self._scope = CalibrateInternalStatusScope(device, f"{self._cmd_syntax}:SCOPE") - # pylint: disable=invalid-name @property def rf(self) -> CalibrateInternalStatusRf: """Return the ``CALibrate:INTERNal:STATus:RF`` command. @@ -868,7 +865,6 @@ def afg(self) -> CalibrateFactoryStatusAfg: """ return self._afg - # pylint: disable=invalid-name @property def rf(self) -> CalibrateFactoryStatusRf: """Return the ``CALibrate:FACtory:STATus:RF`` command. @@ -1143,7 +1139,6 @@ def results(self) -> CalibrateResults: """ return self._results - # pylint: disable=invalid-name @property def rf(self) -> CalibrateRf: """Return the ``CALibrate:RF`` command. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/ch.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/ch.py index 3517842a..2c7a8b9e 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/ch.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/ch.py @@ -965,7 +965,6 @@ def gain(self) -> ChannelProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> ChannelProbeId: """Return the ``CH:PRObe:ID`` command. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/gpibusb.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/gpibusb.py index 3a3b4ae1..83ab68d7 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/gpibusb.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/gpibusb.py @@ -99,7 +99,6 @@ def address(self) -> GpibusbAddress: """ return self._address - # pylint: disable=invalid-name @property def id(self) -> GpibusbId: """Return the ``GPIBUsb:ID`` command. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/marker.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/marker.py index 1b656484..5ea9a2ed 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/marker.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/marker.py @@ -913,7 +913,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "MARKE self._reference = MarkerReference(device, f"{self._cmd_syntax}:REFERence") self._type = MarkerType(device, f"{self._cmd_syntax}:TYPe") - # pylint: disable=invalid-name @property def m(self) -> Dict[int, MarkerMItem]: """Return the ``MARKER:M`` command tree. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/save.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/save.py index 13314659..0440c724 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/save.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/save.py @@ -635,7 +635,6 @@ def bus(self) -> Dict[int, SaveEventtableBusItem]: """ return self._bus - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SaveEventtableBItem]: """Return the ``SAVe:EVENTtable:B`` command. diff --git a/src/tm_devices/commands/_1ltpwt_mdomsodpo/vidpic.py b/src/tm_devices/commands/_1ltpwt_mdomsodpo/vidpic.py index 0fc08671..449fcef1 100644 --- a/src/tm_devices/commands/_1ltpwt_mdomsodpo/vidpic.py +++ b/src/tm_devices/commands/_1ltpwt_mdomsodpo/vidpic.py @@ -437,7 +437,6 @@ def width(self) -> VidpicLocationWidth: """ return self._width - # pylint: disable=invalid-name @property def x(self) -> VidpicLocationX: """Return the ``VIDPic:LOCation:X`` command. @@ -460,7 +459,6 @@ def x(self) -> VidpicLocationX: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> VidpicLocationY: """Return the ``VIDPic:LOCation:Y`` command. diff --git a/src/tm_devices/commands/_1lxxm9_msomdodpo/cursor.py b/src/tm_devices/commands/_1lxxm9_msomdodpo/cursor.py index 9db66708..b8d317c3 100644 --- a/src/tm_devices/commands/_1lxxm9_msomdodpo/cursor.py +++ b/src/tm_devices/commands/_1lxxm9_msomdodpo/cursor.py @@ -403,7 +403,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._x = CursorXyRectangularX(device, f"{self._cmd_syntax}:X") self._y = CursorXyRectangularY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def x(self) -> CursorXyRectangularX: """Return the ``CURSor:XY:RECTangular:X`` command tree. @@ -420,7 +419,6 @@ def x(self) -> CursorXyRectangularX: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> CursorXyRectangularY: """Return the ``CURSor:XY:RECTangular:Y`` command tree. @@ -2078,7 +2076,6 @@ def vbars(self) -> CursorVbars: """ return self._vbars - # pylint: disable=invalid-name @property def xy(self) -> CursorXy: """Return the ``CURSor:XY`` command tree. diff --git a/src/tm_devices/commands/_1mlt9u_mdomsodpo/configuration.py b/src/tm_devices/commands/_1mlt9u_mdomsodpo/configuration.py index d95657cd..a52dc406 100644 --- a/src/tm_devices/commands/_1mlt9u_mdomsodpo/configuration.py +++ b/src/tm_devices/commands/_1mlt9u_mdomsodpo/configuration.py @@ -632,7 +632,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._hs = ConfigurationBuswaveformsUsbHs(device, f"{self._cmd_syntax}:HS") - # pylint: disable=invalid-name @property def hs(self) -> ConfigurationBuswaveformsUsbHs: """Return the ``CONFIGuration:BUSWAVEFORMS:USB:HS`` command. @@ -2271,7 +2270,6 @@ def refs(self) -> ConfigurationRefs: """ return self._refs - # pylint: disable=invalid-name @property def rf(self) -> ConfigurationRf: """Return the ``CONFIGuration:RF`` command tree. diff --git a/src/tm_devices/commands/_1mlt9u_mdomsodpo/display.py b/src/tm_devices/commands/_1mlt9u_mdomsodpo/display.py index 4e61efeb..9c8735e7 100644 --- a/src/tm_devices/commands/_1mlt9u_mdomsodpo/display.py +++ b/src/tm_devices/commands/_1mlt9u_mdomsodpo/display.py @@ -1118,7 +1118,6 @@ def trigfrequency(self) -> DisplayTrigfrequency: """ return self._trigfrequency - # pylint: disable=invalid-name @property def xy(self) -> DisplayXy: """Return the ``DISplay:XY`` command. diff --git a/src/tm_devices/commands/_1mlt9u_mdomsodpo/select.py b/src/tm_devices/commands/_1mlt9u_mdomsodpo/select.py index b7946099..3ace859f 100644 --- a/src/tm_devices/commands/_1mlt9u_mdomsodpo/select.py +++ b/src/tm_devices/commands/_1mlt9u_mdomsodpo/select.py @@ -563,7 +563,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SELec self._math = SelectMath(device, f"{self._cmd_syntax}:MATH") self._math1 = SelectMath1(device, f"{self._cmd_syntax}:MATH1") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SelectChannel]: """Return the ``SELect:CH`` command. @@ -636,7 +635,6 @@ def control(self) -> SelectControl: """ # noqa: E501 return self._control - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SelectDigitalBit]: """Return the ``SELect:D`` command. @@ -936,7 +934,6 @@ def bus(self) -> Dict[int, SelectBusItem]: """ return self._bus - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SelectBItem]: """Return the ``SELect:B`` command. diff --git a/src/tm_devices/commands/_1mq0z9_msodpo/rf.py b/src/tm_devices/commands/_1mq0z9_msodpo/rf.py index f175b748..185e5859 100644 --- a/src/tm_devices/commands/_1mq0z9_msodpo/rf.py +++ b/src/tm_devices/commands/_1mq0z9_msodpo/rf.py @@ -2236,7 +2236,6 @@ def gain(self) -> RfProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> RfProbeId: """Return the ``RF:PRObe:ID`` command tree. @@ -3379,7 +3378,6 @@ def acpr(self) -> RfMeasureAcpr: """ return self._acpr - # pylint: disable=invalid-name @property def cp(self) -> RfMeasureCp: """Return the ``RF:MEASUre:CP`` command tree. diff --git a/src/tm_devices/commands/_1zn03_mso/bus.py b/src/tm_devices/commands/_1zn03_mso/bus.py index 91dd59fa..de952b9f 100644 --- a/src/tm_devices/commands/_1zn03_mso/bus.py +++ b/src/tm_devices/commands/_1zn03_mso/bus.py @@ -5631,7 +5631,6 @@ def bitrate(self) -> BusBItemCanBitrate: """ # noqa: E501 return self._bitrate - # pylint: disable=invalid-name @property def fd(self) -> BusBItemCanFd: """Return the ``BUS:B:CAN:FD`` command tree. @@ -6137,7 +6136,6 @@ def addnew(self) -> BusAddnew: """ return self._addnew - # pylint: disable=invalid-name @property def b(self) -> Dict[int, BusBItem]: """Return the ``BUS:B`` command tree. diff --git a/src/tm_devices/commands/_1zn03_mso/dch.py b/src/tm_devices/commands/_1zn03_mso/dch.py index 31e14269..5bedde84 100644 --- a/src/tm_devices/commands/_1zn03_mso/dch.py +++ b/src/tm_devices/commands/_1zn03_mso/dch.py @@ -657,7 +657,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "DCH Dict[int, DchItemDigitalBit]: """Return the ``DCH_D`` command tree. diff --git a/src/tm_devices/commands/_1zn03_mso/display.py b/src/tm_devices/commands/_1zn03_mso/display.py index 6ba58493..4b682c8a 100644 --- a/src/tm_devices/commands/_1zn03_mso/display.py +++ b/src/tm_devices/commands/_1zn03_mso/display.py @@ -2363,7 +2363,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._dall = DisplayWaveview1DchItemDall(device, f"{self._cmd_syntax}_DALL") - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DisplayWaveview1DchItemDigitalBit]: """Return the ``DISplay:WAVEView1:DCH_D`` command tree. @@ -4628,7 +4627,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: DisplayWaveview1BusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, DisplayWaveview1BusBItem]: """Return the ``DISplay:WAVEView1:BUS:B`` command tree. @@ -4706,7 +4704,6 @@ def bus(self) -> DisplayWaveview1Bus: """ return self._bus - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayWaveview1Channel]: """Return the ``DISplay:WAVEView1:CH`` command tree. @@ -5511,7 +5508,6 @@ def from_(self) -> DisplayReffftviewItemZoomYaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayReffftviewItemZoomYaxisTo: """Return the ``DISplay:REFFFTView:ZOOM:YAXIS:TO`` command. @@ -5642,7 +5638,6 @@ def from_(self) -> DisplayReffftviewItemZoomXaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayReffftviewItemZoomXaxisTo: """Return the ``DISplay:REFFFTView:ZOOM:XAXIS:TO`` command. @@ -8244,7 +8239,6 @@ def from_(self) -> DisplayPlotview1ZoomYaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayPlotview1ZoomYaxisTo: """Return the ``DISplay:PLOTView1:ZOOM:YAXIS:TO`` command. @@ -8374,7 +8368,6 @@ def from_(self) -> DisplayPlotview1ZoomXaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayPlotview1ZoomXaxisTo: """Return the ``DISplay:PLOTView1:ZOOM:XAXIS:TO`` command. @@ -10688,7 +10681,6 @@ def from_(self) -> DisplayMathfftview1ZoomYaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayMathfftview1ZoomYaxisTo: """Return the ``DISplay:MATHFFTView1:ZOOM:YAXIS:TO`` command. @@ -10820,7 +10812,6 @@ def from_(self) -> DisplayMathfftview1ZoomXaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayMathfftview1ZoomXaxisTo: """Return the ``DISplay:MATHFFTView1:ZOOM:XAXIS:TO`` command. @@ -13621,7 +13612,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: DisplayGlobalRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, DisplayGlobalBItem]: """Return the ``DISplay:GLObal:B`` command tree. @@ -13636,7 +13626,6 @@ def b(self) -> Dict[int, DisplayGlobalBItem]: """ return self._b - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayGlobalChannel]: """Return the ``DISplay:GLObal:CH`` command tree. @@ -14234,7 +14223,6 @@ def waveform(self) -> DisplayWaveform: """ return self._waveform - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayChannel]: """Return the ``DISplay:CH`` command tree. diff --git a/src/tm_devices/commands/_1zn03_mso/measurement.py b/src/tm_devices/commands/_1zn03_mso/measurement.py index 814972cc..d912aa8a 100644 --- a/src/tm_devices/commands/_1zn03_mso/measurement.py +++ b/src/tm_devices/commands/_1zn03_mso/measurement.py @@ -6711,7 +6711,6 @@ def level(self) -> MeasurementMeasItemEdgesLevel: """ return self._level - # pylint: disable=invalid-name @property def n(self) -> MeasurementMeasItemEdgesN: """Return the ``MEASUrement:MEAS:EDGES:N`` command. @@ -12542,7 +12541,6 @@ def annotate(self) -> MeasurementAnnotate: """ return self._annotate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, MeasurementChannel]: """Return the ``MEASUrement:CH`` command tree. diff --git a/src/tm_devices/commands/_1zn03_mso/search.py b/src/tm_devices/commands/_1zn03_mso/search.py index 58ba68b3..ef621060 100644 --- a/src/tm_devices/commands/_1zn03_mso/search.py +++ b/src/tm_devices/commands/_1zn03_mso/search.py @@ -870,7 +870,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdLogicpatternChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:LOGICPattern:CH`` command. @@ -1102,7 +1101,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdLevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:LEVel:CH`` command. @@ -2780,7 +2778,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicLogicpatternDchItemDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:LOGICPattern:DCH_D`` command. @@ -2895,7 +2892,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicLogicpatternChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:LOGICPattern:CH`` command. @@ -3138,7 +3134,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicLevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:LEVel:CH`` command. @@ -8443,7 +8438,6 @@ def errtype(self) -> SearchSearchItemTriggerABusCanErrtype: """ return self._errtype - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CAN:FD`` command tree. @@ -9012,7 +9006,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. diff --git a/src/tm_devices/commands/_1zn03_mso/trigger.py b/src/tm_devices/commands/_1zn03_mso/trigger.py index ec4bbc96..93bd65ba 100644 --- a/src/tm_devices/commands/_1zn03_mso/trigger.py +++ b/src/tm_devices/commands/_1zn03_mso/trigger.py @@ -462,7 +462,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -1060,7 +1059,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdlogicvalDchItemDigitalBit(device, f"{self._cmd_syntax}_D{x}") ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdlogicvalDchItemDigitalBit]: """Return the ``TRIGger:A:SETHOLDLOGICVAL:DCH_D`` command. @@ -1790,7 +1788,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -2324,7 +2321,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicpatternDchItemDigitalBit(device, f"{self._cmd_syntax}_D{x}") ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicpatternDchItemDigitalBit]: """Return the ``TRIGger:A:LOGICPattern:DCH_D`` command. @@ -2412,7 +2408,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicpatternDchItem(device, f"{self._cmd_syntax}:DCH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicpatternChannel]: """Return the ``TRIGger:A:LOGICPattern:CH`` command. @@ -2504,7 +2499,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -6822,7 +6816,6 @@ def errtype(self) -> TriggerABusBItemCanErrtype: """ return self._errtype - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -7056,7 +7049,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -7482,7 +7474,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._hysteresis = TriggerHysteresis(device, f"{self._cmd_syntax}:HYSTeresis") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. diff --git a/src/tm_devices/commands/_22daqs_afg/source1.py b/src/tm_devices/commands/_22daqs_afg/source1.py index 265eca07..ba1c5ab2 100644 --- a/src/tm_devices/commands/_22daqs_afg/source1.py +++ b/src/tm_devices/commands/_22daqs_afg/source1.py @@ -3221,7 +3221,6 @@ def stop(self) -> Source1FrequencyStop: """ return self._stop - # pylint: disable=invalid-name @property def cw(self) -> Source1FrequencyCw: """Return the ``SOURce1:FREQuency:CW`` command. @@ -4392,7 +4391,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SOURc self._sweep = Source1Sweep(device, f"{self._cmd_syntax}:SWEep") self._voltage = Source1Voltage(device, f"{self._cmd_syntax}:VOLTage") - # pylint: disable=invalid-name @property def am(self) -> Source1Am: """Return the ``SOURce1:AM`` command tree. @@ -4441,7 +4439,6 @@ def combine(self) -> Source1Combine: """ return self._combine - # pylint: disable=invalid-name @property def fm(self) -> Source1Fm: """Return the ``SOURce1:FM`` command tree. @@ -4528,7 +4525,6 @@ def phase(self) -> Source1Phase: """ return self._phase - # pylint: disable=invalid-name @property def pm(self) -> Source1Pm: """Return the ``SOURce1:PM`` command tree. diff --git a/src/tm_devices/commands/_22daqs_afg/source2.py b/src/tm_devices/commands/_22daqs_afg/source2.py index 77921c7d..1d147004 100644 --- a/src/tm_devices/commands/_22daqs_afg/source2.py +++ b/src/tm_devices/commands/_22daqs_afg/source2.py @@ -3221,7 +3221,6 @@ def stop(self) -> Source2FrequencyStop: """ return self._stop - # pylint: disable=invalid-name @property def cw(self) -> Source2FrequencyCw: """Return the ``SOURce2:FREQuency:CW`` command. @@ -4392,7 +4391,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SOURc self._sweep = Source2Sweep(device, f"{self._cmd_syntax}:SWEep") self._voltage = Source2Voltage(device, f"{self._cmd_syntax}:VOLTage") - # pylint: disable=invalid-name @property def am(self) -> Source2Am: """Return the ``SOURce2:AM`` command tree. @@ -4441,7 +4439,6 @@ def combine(self) -> Source2Combine: """ return self._combine - # pylint: disable=invalid-name @property def fm(self) -> Source2Fm: """Return the ``SOURce2:FM`` command tree. @@ -4528,7 +4525,6 @@ def phase(self) -> Source2Phase: """ return self._phase - # pylint: disable=invalid-name @property def pm(self) -> Source2Pm: """Return the ``SOURce2:PM`` command tree. diff --git a/src/tm_devices/commands/_2i1z2s_awg/wlist.py b/src/tm_devices/commands/_2i1z2s_awg/wlist.py index eeeb28cd..14a9f567 100644 --- a/src/tm_devices/commands/_2i1z2s_awg/wlist.py +++ b/src/tm_devices/commands/_2i1z2s_awg/wlist.py @@ -656,7 +656,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._i = WlistWaveformDataI(device, f"{self._cmd_syntax}:I") self._q = WlistWaveformDataQ(device, f"{self._cmd_syntax}:Q") - # pylint: disable=invalid-name @property def i(self) -> WlistWaveformDataI: """Return the ``WLISt:WAVeform:DATA:I`` command. @@ -687,7 +686,6 @@ def i(self) -> WlistWaveformDataI: """ # noqa: E501 return self._i - # pylint: disable=invalid-name @property def q(self) -> WlistWaveformDataQ: """Return the ``WLISt:WAVeform:DATA:Q`` command. @@ -2415,7 +2413,6 @@ def layout(self) -> WlistSparameterNcascadingLayout: """ return self._layout - # pylint: disable=invalid-name @property def rx(self) -> Dict[int, WlistSparameterNcascadingRxItem]: """Return the ``WLISt:SPARameter:NCAScading:RX[n]`` command. @@ -2495,7 +2492,6 @@ def stype(self) -> WlistSparameterNcascadingStype: """ return self._stype - # pylint: disable=invalid-name @property def tx(self) -> Dict[int, WlistSparameterNcascadingTxItem]: """Return the ``WLISt:SPARameter:NCAScading:TX[n]`` command. @@ -2935,7 +2931,6 @@ def file(self) -> WlistSparameterCascadingStageItemFile: """ return self._file - # pylint: disable=invalid-name @property def rx(self) -> Dict[int, WlistSparameterCascadingStageItemRxItem]: """Return the ``WLISt:SPARameter:CASCading:STAGe[m]:RX[n]`` command. @@ -2989,7 +2984,6 @@ def sscheme(self) -> WlistSparameterCascadingStageItemSscheme: """ return self._sscheme - # pylint: disable=invalid-name @property def tx(self) -> Dict[int, WlistSparameterCascadingStageItemTxItem]: """Return the ``WLISt:SPARameter:CASCading:STAGe[m]:TX[n]`` command. diff --git a/src/tm_devices/commands/_32dszm_awg/awgcontrol.py b/src/tm_devices/commands/_32dszm_awg/awgcontrol.py index 22ff87d1..22adcfca 100644 --- a/src/tm_devices/commands/_32dszm_awg/awgcontrol.py +++ b/src/tm_devices/commands/_32dszm_awg/awgcontrol.py @@ -2072,7 +2072,6 @@ def configure(self) -> AwgcontrolConfigure: """ return self._configure - # pylint: disable=invalid-name @property def dc(self) -> Dict[int, AwgcontrolDcItem]: """Return the ``AWGControl:DC[n]`` command tree. diff --git a/src/tm_devices/commands/_32dszm_awg/source.py b/src/tm_devices/commands/_32dszm_awg/source.py index ab3b3033..ad20408d 100644 --- a/src/tm_devices/commands/_32dszm_awg/source.py +++ b/src/tm_devices/commands/_32dszm_awg/source.py @@ -1898,7 +1898,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._cw = SourceItemFrequencyCw(device, f"{self._cmd_syntax}:CW") self._fixed = SourceItemFrequencyFixed(device, f"{self._cmd_syntax}:FIXed") - # pylint: disable=invalid-name @property def cw(self) -> SourceItemFrequencyCw: """Return the ``SOURce[n]:FREQuency:CW`` command. diff --git a/src/tm_devices/commands/_3rs8qy_awg/awgcontrol.py b/src/tm_devices/commands/_3rs8qy_awg/awgcontrol.py index 0fe0460a..13361dc3 100644 --- a/src/tm_devices/commands/_3rs8qy_awg/awgcontrol.py +++ b/src/tm_devices/commands/_3rs8qy_awg/awgcontrol.py @@ -212,7 +212,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._hz = AwgcontrolTimerIntervalHz(device, f"{self._cmd_syntax}:HZ") self._seconds = AwgcontrolTimerIntervalSeconds(device, f"{self._cmd_syntax}:SEConds") - # pylint: disable=invalid-name @property def hz(self) -> AwgcontrolTimerIntervalHz: """Return the ``AWGControl:TIMer:INTerval:HZ`` command. diff --git a/src/tm_devices/commands/_3rs8qy_awg/output.py b/src/tm_devices/commands/_3rs8qy_awg/output.py index 39338c92..130068d6 100644 --- a/src/tm_devices/commands/_3rs8qy_awg/output.py +++ b/src/tm_devices/commands/_3rs8qy_awg/output.py @@ -697,7 +697,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._a3 = OutputItemAttenuatorA3(device, f"{self._cmd_syntax}:A3") self._dac = OutputItemAttenuatorDac(device, f"{self._cmd_syntax}:DAC") - # pylint: disable=invalid-name @property def a1(self) -> OutputItemAttenuatorA1: """Return the ``OUTPut[n]:ATTenuator:A1`` command. @@ -725,7 +724,6 @@ def a1(self) -> OutputItemAttenuatorA1: """ return self._a1 - # pylint: disable=invalid-name @property def a2(self) -> OutputItemAttenuatorA2: """Return the ``OUTPut[n]:ATTenuator:A2`` command. @@ -753,7 +751,6 @@ def a2(self) -> OutputItemAttenuatorA2: """ return self._a2 - # pylint: disable=invalid-name @property def a3(self) -> OutputItemAttenuatorA3: """Return the ``OUTPut[n]:ATTenuator:A3`` command. diff --git a/src/tm_devices/commands/_3rs8qy_awg/system.py b/src/tm_devices/commands/_3rs8qy_awg/system.py index 0c47b56d..bc232429 100644 --- a/src/tm_devices/commands/_3rs8qy_awg/system.py +++ b/src/tm_devices/commands/_3rs8qy_awg/system.py @@ -180,7 +180,6 @@ def gateway(self) -> SystemSidGateway: """ return self._gateway - # pylint: disable=invalid-name @property def ip(self) -> SystemSidIp: """Return the ``SYSTem:SID:IP`` command. diff --git a/src/tm_devices/commands/_3rs8qy_awg/wlist.py b/src/tm_devices/commands/_3rs8qy_awg/wlist.py index b444f8dc..3c860ca1 100644 --- a/src/tm_devices/commands/_3rs8qy_awg/wlist.py +++ b/src/tm_devices/commands/_3rs8qy_awg/wlist.py @@ -756,7 +756,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._q = WlistWaveformDataQ(device, f"{self._cmd_syntax}:Q") self._i = WlistWaveformDataI(device, f"{self._cmd_syntax}:I") - # pylint: disable=invalid-name @property def q(self) -> WlistWaveformDataQ: """Return the ``WLISt:WAVeform:DATA:Q`` command. @@ -787,7 +786,6 @@ def q(self) -> WlistWaveformDataQ: """ # noqa: E501 return self._q - # pylint: disable=invalid-name @property def i(self) -> WlistWaveformDataI: """Return the ``WLISt:WAVeform:DATA:I`` command. @@ -2570,7 +2568,6 @@ def layout(self) -> WlistSparameterNcascadingLayout: """ return self._layout - # pylint: disable=invalid-name @property def rx(self) -> Dict[int, WlistSparameterNcascadingRxItem]: """Return the ``WLISt:SPARameter:NCAScading:RX[n]`` command. @@ -2650,7 +2647,6 @@ def stype(self) -> WlistSparameterNcascadingStype: """ return self._stype - # pylint: disable=invalid-name @property def tx(self) -> Dict[int, WlistSparameterNcascadingTxItem]: """Return the ``WLISt:SPARameter:NCAScading:TX[n]`` command. @@ -3090,7 +3086,6 @@ def file(self) -> WlistSparameterCascadingStageItemFile: """ return self._file - # pylint: disable=invalid-name @property def rx(self) -> Dict[int, WlistSparameterCascadingStageItemRxItem]: """Return the ``WLISt:SPARameter:CASCading:STAGe[m]:RX[n]`` command. @@ -3144,7 +3139,6 @@ def sscheme(self) -> WlistSparameterCascadingStageItemSscheme: """ return self._sscheme - # pylint: disable=invalid-name @property def tx(self) -> Dict[int, WlistSparameterCascadingStageItemTxItem]: """Return the ``WLISt:SPARameter:CASCading:STAGe[m]:TX[n]`` command. diff --git a/src/tm_devices/commands/_3skc3w_dpo/trigger.py b/src/tm_devices/commands/_3skc3w_dpo/trigger.py index dbdea8f8..3c6b4b38 100644 --- a/src/tm_devices/commands/_3skc3w_dpo/trigger.py +++ b/src/tm_devices/commands/_3skc3w_dpo/trigger.py @@ -2275,7 +2275,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -3985,7 +3984,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWindowPolarityChannel]: """Return the ``TRIGger:B:PULse:WINdow:POLarity:CH`` command. @@ -4417,7 +4415,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWidthPolarityChannel]: """Return the ``TRIGger:B:PULse:WIDth:POLarity:CH`` command. @@ -5088,7 +5085,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTransitionPolarityChannel]: """Return the ``TRIGger:B:PULse:TRANsition:POLarity:CH`` command. @@ -5486,7 +5482,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTimeoutPolarityChannel]: """Return the ``TRIGger:B:PULse:TIMEOut:POLarity:CH`` command. @@ -6108,7 +6103,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseRuntPolarityChannel]: """Return the ``TRIGger:B:PULse:RUNT:POLarity:CH`` command. @@ -6939,7 +6933,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseGlitchPolarityChannel]: """Return the ``TRIGger:B:PULse:GLItch:POLarity:CH`` command. @@ -7664,7 +7657,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -7754,7 +7746,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicThresholdChannel]: """Return the ``TRIGger:B:LOGIc:THReshold:CH`` command. @@ -7864,7 +7855,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicStateInputChannel]: """Return the ``TRIGger:B:LOGIc:STATE:INPut:CH`` command. @@ -8129,7 +8119,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdDataThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -8421,7 +8410,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdClockThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -9112,7 +9100,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicPatternInputChannel]: """Return the ``TRIGger:B:LOGIc:PATtern:INPut:CH`` command. @@ -9378,7 +9365,6 @@ def all(self) -> TriggerBLogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicInputChannel]: """Return the ``TRIGger:B:LOGIc:INPut:CH`` command. @@ -9809,7 +9795,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -10084,7 +10069,6 @@ def aux(self) -> TriggerBEdgeSlopeAux: """ return self._aux - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeSlopeChannel]: """Return the ``TRIGger:B:EDGE:SLOpe:CH`` command. @@ -10196,7 +10180,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeCouplingChannel]: """Return the ``TRIGger:B:EDGE:COUPling:CH`` command. @@ -10517,7 +10500,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -11864,7 +11846,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -13105,7 +13086,6 @@ def sclk(self) -> TriggerASpiSclk: """ return self._sclk - # pylint: disable=invalid-name @property def ss(self) -> TriggerASpiSs: """Return the ``TRIGger:A:SPI:SS`` command tree. @@ -14976,7 +14956,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowPolarityChannel]: """Return the ``TRIGger:A:PULse:WINdow:POLarity:CH`` command. @@ -15064,7 +15043,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:WINdow:LOGIc:THReshold:CH`` command. @@ -15162,7 +15140,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicInputChannel]: r"""Return the ``TRIGger:A:PULse:WINdow:LOGIc:INPUT:CH`` command. @@ -15709,7 +15686,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWidthPolarityChannel]: """Return the ``TRIGger:A:PULse:WIDth:POLarity:CH`` command. @@ -16380,7 +16356,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTransitionPolarityChannel]: """Return the ``TRIGger:A:PULse:TRANsition:POLarity:CH`` command. @@ -16778,7 +16753,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTimeoutPolarityChannel]: """Return the ``TRIGger:A:PULse:TIMEOut:POLarity:CH`` command. @@ -17400,7 +17374,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntPolarityChannel]: """Return the ``TRIGger:A:PULse:RUNT:POLarity:CH`` command. @@ -17487,7 +17460,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:THReshold:CH`` command. @@ -17585,7 +17557,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicInputChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:INPUT:CH`` command. @@ -18507,7 +18478,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseGlitchPolarityChannel]: """Return the ``TRIGger:A:PULse:GLItch:POLarity:CH`` command. @@ -19431,7 +19401,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -19521,7 +19490,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -19631,7 +19599,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicStateInputChannel]: """Return the ``TRIGger:A:LOGIc:STATE:INPut:CH`` command. @@ -19896,7 +19863,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdDataThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -20188,7 +20154,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdClockThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -20879,7 +20844,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicPatternInputChannel]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -21145,7 +21109,6 @@ def all(self) -> TriggerALogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -21576,7 +21539,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -22601,7 +22563,6 @@ def actual(self) -> TriggerAHoldoffActual: """ return self._actual - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -22834,7 +22795,6 @@ def aux(self) -> TriggerAEdgeSlopeAux: """ return self._aux - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeSlopeChannel]: """Return the ``TRIGger:A:EDGE:SLOpe:CH`` command. @@ -22946,7 +22906,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeCouplingChannel]: """Return the ``TRIGger:A:EDGE:COUPling:CH`` command. @@ -26179,7 +26138,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusUsbSplitEt: """Return the ``TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -26224,7 +26182,6 @@ def port(self) -> TriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusUsbSplitSc: """Return the ``TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -26239,7 +26196,6 @@ def sc(self) -> TriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusUsbSplitSe: """Return the ``TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -31987,7 +31943,6 @@ def instr(self) -> TriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -32124,7 +32079,6 @@ def subsf(self) -> TriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -38311,7 +38265,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -38363,7 +38316,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_3tjgb2_dpo/trigger.py b/src/tm_devices/commands/_3tjgb2_dpo/trigger.py index 33f7ad17..35be7d13 100644 --- a/src/tm_devices/commands/_3tjgb2_dpo/trigger.py +++ b/src/tm_devices/commands/_3tjgb2_dpo/trigger.py @@ -2198,7 +2198,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -3908,7 +3907,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWindowPolarityChannel]: """Return the ``TRIGger:B:PULse:WINdow:POLarity:CH`` command. @@ -4340,7 +4338,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWidthPolarityChannel]: """Return the ``TRIGger:B:PULse:WIDth:POLarity:CH`` command. @@ -5011,7 +5008,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTransitionPolarityChannel]: """Return the ``TRIGger:B:PULse:TRANsition:POLarity:CH`` command. @@ -5409,7 +5405,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTimeoutPolarityChannel]: """Return the ``TRIGger:B:PULse:TIMEOut:POLarity:CH`` command. @@ -6031,7 +6026,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseRuntPolarityChannel]: """Return the ``TRIGger:B:PULse:RUNT:POLarity:CH`` command. @@ -6862,7 +6856,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseGlitchPolarityChannel]: """Return the ``TRIGger:B:PULse:GLItch:POLarity:CH`` command. @@ -7587,7 +7580,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -7677,7 +7669,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicThresholdChannel]: """Return the ``TRIGger:B:LOGIc:THReshold:CH`` command. @@ -7787,7 +7778,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicStateInputChannel]: """Return the ``TRIGger:B:LOGIc:STATE:INPut:CH`` command. @@ -8052,7 +8042,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdDataThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -8344,7 +8333,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdClockThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -9035,7 +9023,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicPatternInputChannel]: """Return the ``TRIGger:B:LOGIc:PATtern:INPut:CH`` command. @@ -9301,7 +9288,6 @@ def all(self) -> TriggerBLogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicInputChannel]: """Return the ``TRIGger:B:LOGIc:INPut:CH`` command. @@ -9732,7 +9718,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -9985,7 +9970,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeCouplingChannel]: """Return the ``TRIGger:B:EDGE:COUPling:CH`` command. @@ -10302,7 +10286,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -11649,7 +11632,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -12890,7 +12872,6 @@ def sclk(self) -> TriggerASpiSclk: """ return self._sclk - # pylint: disable=invalid-name @property def ss(self) -> TriggerASpiSs: """Return the ``TRIGger:A:SPI:SS`` command tree. @@ -14381,7 +14362,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowPolarityChannel]: """Return the ``TRIGger:A:PULse:WINdow:POLarity:CH`` command. @@ -14469,7 +14449,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:WINdow:LOGIc:THReshold:CH`` command. @@ -14567,7 +14546,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicInputChannel]: r"""Return the ``TRIGger:A:PULse:WINdow:LOGIc:INPUT:CH`` command. @@ -15114,7 +15092,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWidthPolarityChannel]: """Return the ``TRIGger:A:PULse:WIDth:POLarity:CH`` command. @@ -15785,7 +15762,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTransitionPolarityChannel]: """Return the ``TRIGger:A:PULse:TRANsition:POLarity:CH`` command. @@ -16183,7 +16159,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTimeoutPolarityChannel]: """Return the ``TRIGger:A:PULse:TIMEOut:POLarity:CH`` command. @@ -16805,7 +16780,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntPolarityChannel]: """Return the ``TRIGger:A:PULse:RUNT:POLarity:CH`` command. @@ -16892,7 +16866,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:THReshold:CH`` command. @@ -16990,7 +16963,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicInputChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:INPUT:CH`` command. @@ -17912,7 +17884,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseGlitchPolarityChannel]: """Return the ``TRIGger:A:PULse:GLItch:POLarity:CH`` command. @@ -18836,7 +18807,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -18926,7 +18896,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -19036,7 +19005,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicStateInputChannel]: """Return the ``TRIGger:A:LOGIc:STATE:INPut:CH`` command. @@ -19301,7 +19269,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdDataThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -19593,7 +19560,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdClockThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -20284,7 +20250,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicPatternInputChannel]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -20550,7 +20515,6 @@ def all(self) -> TriggerALogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -20981,7 +20945,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -21247,7 +21210,6 @@ def actual(self) -> TriggerAHoldoffActual: """ return self._actual - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -21458,7 +21420,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeCouplingChannel]: """Return the ``TRIGger:A:EDGE:COUPling:CH`` command. @@ -24687,7 +24648,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusUsbSplitEt: """Return the ``TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -24732,7 +24692,6 @@ def port(self) -> TriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusUsbSplitSc: """Return the ``TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -24747,7 +24706,6 @@ def sc(self) -> TriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusUsbSplitSe: """Return the ``TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -30495,7 +30453,6 @@ def instr(self) -> TriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -30632,7 +30589,6 @@ def subsf(self) -> TriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -39038,7 +38994,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -39089,7 +39044,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_4jiykk_dpo/idnmultiscope.py b/src/tm_devices/commands/_4jiykk_dpo/idnmultiscope.py index fdfb02c1..760bfc38 100644 --- a/src/tm_devices/commands/_4jiykk_dpo/idnmultiscope.py +++ b/src/tm_devices/commands/_4jiykk_dpo/idnmultiscope.py @@ -144,7 +144,6 @@ def __init__( self._c = IdnmultiscopeC(device, f"{self._cmd_syntax}:C") self._d = IdnmultiscopeDigitalBit(device, f"{self._cmd_syntax}:D") - # pylint: disable=invalid-name @property def a(self) -> IdnmultiscopeA: """Return the ``IDNMultiscope:A`` command. @@ -167,7 +166,6 @@ def a(self) -> IdnmultiscopeA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> IdnmultiscopeB: """Return the ``IDNMultiscope:B`` command. @@ -190,7 +188,6 @@ def b(self) -> IdnmultiscopeB: """ return self._b - # pylint: disable=invalid-name @property def c(self) -> IdnmultiscopeC: """Return the ``IDNMultiscope:C`` command. @@ -213,7 +210,6 @@ def c(self) -> IdnmultiscopeC: """ return self._c - # pylint: disable=invalid-name @property def d(self) -> IdnmultiscopeDigitalBit: """Return the ``IDNMultiscope:D`` command. diff --git a/src/tm_devices/commands/_4jiykk_dpo/trigger.py b/src/tm_devices/commands/_4jiykk_dpo/trigger.py index c1e7632a..e8c3618a 100644 --- a/src/tm_devices/commands/_4jiykk_dpo/trigger.py +++ b/src/tm_devices/commands/_4jiykk_dpo/trigger.py @@ -2237,7 +2237,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -3947,7 +3946,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWindowPolarityChannel]: """Return the ``TRIGger:B:PULse:WINdow:POLarity:CH`` command. @@ -4379,7 +4377,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWidthPolarityChannel]: """Return the ``TRIGger:B:PULse:WIDth:POLarity:CH`` command. @@ -5096,7 +5093,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTransitionPolarityChannel]: """Return the ``TRIGger:B:PULse:TRANsition:POLarity:CH`` command. @@ -5494,7 +5490,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTimeoutPolarityChannel]: """Return the ``TRIGger:B:PULse:TIMEOut:POLarity:CH`` command. @@ -6164,7 +6159,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseRuntPolarityChannel]: """Return the ``TRIGger:B:PULse:RUNT:POLarity:CH`` command. @@ -6995,7 +6989,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseGlitchPolarityChannel]: """Return the ``TRIGger:B:PULse:GLItch:POLarity:CH`` command. @@ -7737,7 +7730,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -7827,7 +7819,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicThresholdChannel]: """Return the ``TRIGger:B:LOGIc:THReshold:CH`` command. @@ -7937,7 +7928,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicStateInputChannel]: """Return the ``TRIGger:B:LOGIc:STATE:INPut:CH`` command. @@ -8202,7 +8192,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdDataThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -8494,7 +8483,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdClockThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -9185,7 +9173,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicPatternInputChannel]: """Return the ``TRIGger:B:LOGIc:PATtern:INPut:CH`` command. @@ -9451,7 +9438,6 @@ def all(self) -> TriggerBLogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicInputChannel]: """Return the ``TRIGger:B:LOGIc:INPut:CH`` command. @@ -9882,7 +9868,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -10162,7 +10147,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeCouplingChannel]: """Return the ``TRIGger:B:EDGE:COUPling:CH`` command. @@ -10497,7 +10481,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -11759,7 +11742,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -13000,7 +12982,6 @@ def sclk(self) -> TriggerASpiSclk: """ return self._sclk - # pylint: disable=invalid-name @property def ss(self) -> TriggerASpiSs: """Return the ``TRIGger:A:SPI:SS`` command tree. @@ -14491,7 +14472,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowPolarityChannel]: """Return the ``TRIGger:A:PULse:WINdow:POLarity:CH`` command. @@ -14579,7 +14559,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:WINdow:LOGIc:THReshold:CH`` command. @@ -14677,7 +14656,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicInputChannel]: r"""Return the ``TRIGger:A:PULse:WINdow:LOGIc:INPUT:CH`` command. @@ -15224,7 +15202,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWidthPolarityChannel]: """Return the ``TRIGger:A:PULse:WIDth:POLarity:CH`` command. @@ -15941,7 +15918,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTransitionPolarityChannel]: """Return the ``TRIGger:A:PULse:TRANsition:POLarity:CH`` command. @@ -16339,7 +16315,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTimeoutPolarityChannel]: """Return the ``TRIGger:A:PULse:TIMEOut:POLarity:CH`` command. @@ -17009,7 +16984,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntPolarityChannel]: """Return the ``TRIGger:A:PULse:RUNT:POLarity:CH`` command. @@ -17096,7 +17070,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:THReshold:CH`` command. @@ -17194,7 +17167,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicInputChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:INPUT:CH`` command. @@ -18116,7 +18088,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseGlitchPolarityChannel]: """Return the ``TRIGger:A:PULse:GLItch:POLarity:CH`` command. @@ -19057,7 +19028,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -19147,7 +19117,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -19257,7 +19226,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicStateInputChannel]: """Return the ``TRIGger:A:LOGIc:STATE:INPut:CH`` command. @@ -19522,7 +19490,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdDataThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -19814,7 +19781,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdClockThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -20505,7 +20471,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicPatternInputChannel]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -20771,7 +20736,6 @@ def all(self) -> TriggerALogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -21202,7 +21166,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -21468,7 +21431,6 @@ def actual(self) -> TriggerAHoldoffActual: """ return self._actual - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -21706,7 +21668,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeCouplingChannel]: """Return the ``TRIGger:A:EDGE:COUPling:CH`` command. @@ -24953,7 +24914,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusUsbSplitEt: """Return the ``TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -24998,7 +24958,6 @@ def port(self) -> TriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusUsbSplitSc: """Return the ``TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -25013,7 +24972,6 @@ def sc(self) -> TriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusUsbSplitSe: """Return the ``TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -30761,7 +30719,6 @@ def instr(self) -> TriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -30898,7 +30855,6 @@ def subsf(self) -> TriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -37051,7 +37007,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -37102,7 +37057,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_561g9r_mso/trigger.py b/src/tm_devices/commands/_561g9r_mso/trigger.py index 280ee5f9..21225e06 100644 --- a/src/tm_devices/commands/_561g9r_mso/trigger.py +++ b/src/tm_devices/commands/_561g9r_mso/trigger.py @@ -2202,7 +2202,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -3912,7 +3911,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWindowPolarityChannel]: """Return the ``TRIGger:B:PULse:WINdow:POLarity:CH`` command. @@ -4344,7 +4342,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWidthPolarityChannel]: """Return the ``TRIGger:B:PULse:WIDth:POLarity:CH`` command. @@ -5015,7 +5012,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTransitionPolarityChannel]: """Return the ``TRIGger:B:PULse:TRANsition:POLarity:CH`` command. @@ -5413,7 +5409,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTimeoutPolarityChannel]: """Return the ``TRIGger:B:PULse:TIMEOut:POLarity:CH`` command. @@ -6035,7 +6030,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseRuntPolarityChannel]: """Return the ``TRIGger:B:PULse:RUNT:POLarity:CH`` command. @@ -6866,7 +6860,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseGlitchPolarityChannel]: """Return the ``TRIGger:B:PULse:GLItch:POLarity:CH`` command. @@ -7591,7 +7584,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -7681,7 +7673,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicThresholdChannel]: """Return the ``TRIGger:B:LOGIc:THReshold:CH`` command. @@ -7791,7 +7782,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicStateInputChannel]: """Return the ``TRIGger:B:LOGIc:STATE:INPut:CH`` command. @@ -8144,7 +8134,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdDataThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -8436,7 +8425,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdClockThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -9127,7 +9115,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicPatternInputChannel]: """Return the ``TRIGger:B:LOGIc:PATtern:INPut:CH`` command. @@ -9393,7 +9380,6 @@ def all(self) -> TriggerBLogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicInputChannel]: """Return the ``TRIGger:B:LOGIc:INPut:CH`` command. @@ -9825,7 +9811,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -10078,7 +10063,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeCouplingChannel]: """Return the ``TRIGger:B:EDGE:COUPling:CH`` command. @@ -10395,7 +10379,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -11742,7 +11725,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -12983,7 +12965,6 @@ def sclk(self) -> TriggerASpiSclk: """ return self._sclk - # pylint: disable=invalid-name @property def ss(self) -> TriggerASpiSs: """Return the ``TRIGger:A:SPI:SS`` command tree. @@ -14474,7 +14455,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowPolarityChannel]: """Return the ``TRIGger:A:PULse:WINdow:POLarity:CH`` command. @@ -14562,7 +14542,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:WINdow:LOGIc:THReshold:CH`` command. @@ -14660,7 +14639,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicInputChannel]: r"""Return the ``TRIGger:A:PULse:WINdow:LOGIc:INPUT:CH`` command. @@ -15207,7 +15185,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWidthPolarityChannel]: """Return the ``TRIGger:A:PULse:WIDth:POLarity:CH`` command. @@ -15878,7 +15855,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTransitionPolarityChannel]: """Return the ``TRIGger:A:PULse:TRANsition:POLarity:CH`` command. @@ -16276,7 +16252,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTimeoutPolarityChannel]: """Return the ``TRIGger:A:PULse:TIMEOut:POLarity:CH`` command. @@ -16898,7 +16873,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntPolarityChannel]: """Return the ``TRIGger:A:PULse:RUNT:POLarity:CH`` command. @@ -16985,7 +16959,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:THReshold:CH`` command. @@ -17083,7 +17056,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicInputChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:INPUT:CH`` command. @@ -18005,7 +17977,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseGlitchPolarityChannel]: """Return the ``TRIGger:A:PULse:GLItch:POLarity:CH`` command. @@ -18929,7 +18900,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -19019,7 +18989,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -19129,7 +19098,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicStateInputChannel]: """Return the ``TRIGger:A:LOGIc:STATE:INPut:CH`` command. @@ -19482,7 +19450,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdDataThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -19774,7 +19741,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdClockThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -20465,7 +20431,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicPatternInputChannel]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -20731,7 +20696,6 @@ def all(self) -> TriggerALogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -21163,7 +21127,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -21429,7 +21392,6 @@ def actual(self) -> TriggerAHoldoffActual: """ return self._actual - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -21640,7 +21602,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeCouplingChannel]: """Return the ``TRIGger:A:EDGE:COUPling:CH`` command. @@ -24869,7 +24830,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusUsbSplitEt: """Return the ``TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -24914,7 +24874,6 @@ def port(self) -> TriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusUsbSplitSc: """Return the ``TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -24929,7 +24888,6 @@ def sc(self) -> TriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusUsbSplitSe: """Return the ``TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -30677,7 +30635,6 @@ def instr(self) -> TriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -30814,7 +30771,6 @@ def subsf(self) -> TriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -39220,7 +39176,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -39271,7 +39226,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_5ri0nj_dpomso/bus.py b/src/tm_devices/commands/_5ri0nj_dpomso/bus.py index e633bc29..5cb9c379 100644 --- a/src/tm_devices/commands/_5ri0nj_dpomso/bus.py +++ b/src/tm_devices/commands/_5ri0nj_dpomso/bus.py @@ -7021,7 +7021,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "BUS") lambda x: BusRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def b1(self) -> Dict[int, BusB1Item]: """Return the ``BUS:B1`` command tree. @@ -7037,7 +7036,6 @@ def b1(self) -> Dict[int, BusB1Item]: """ return self._b1 - # pylint: disable=invalid-name @property def b(self) -> Dict[int, BusBItem]: """Return the ``BUS:B`` command tree. @@ -7070,7 +7068,6 @@ def b(self) -> Dict[int, BusBItem]: """ return self._b - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusChannel]: """Return the ``BUS:CH`` command tree. diff --git a/src/tm_devices/commands/_5vmwut_dpodsamso/trigger.py b/src/tm_devices/commands/_5vmwut_dpodsamso/trigger.py index d68841f1..bb9acc09 100644 --- a/src/tm_devices/commands/_5vmwut_dpodsamso/trigger.py +++ b/src/tm_devices/commands/_5vmwut_dpodsamso/trigger.py @@ -2237,7 +2237,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -3947,7 +3946,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWindowPolarityChannel]: """Return the ``TRIGger:B:PULse:WINdow:POLarity:CH`` command. @@ -4379,7 +4377,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWidthPolarityChannel]: """Return the ``TRIGger:B:PULse:WIDth:POLarity:CH`` command. @@ -5050,7 +5047,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTransitionPolarityChannel]: """Return the ``TRIGger:B:PULse:TRANsition:POLarity:CH`` command. @@ -5448,7 +5444,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTimeoutPolarityChannel]: """Return the ``TRIGger:B:PULse:TIMEOut:POLarity:CH`` command. @@ -6070,7 +6065,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseRuntPolarityChannel]: """Return the ``TRIGger:B:PULse:RUNT:POLarity:CH`` command. @@ -6901,7 +6895,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseGlitchPolarityChannel]: """Return the ``TRIGger:B:PULse:GLItch:POLarity:CH`` command. @@ -7626,7 +7619,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -7716,7 +7708,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicThresholdChannel]: """Return the ``TRIGger:B:LOGIc:THReshold:CH`` command. @@ -7826,7 +7817,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicStateInputChannel]: """Return the ``TRIGger:B:LOGIc:STATE:INPut:CH`` command. @@ -8091,7 +8081,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdDataThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -8383,7 +8372,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdClockThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -9074,7 +9062,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicPatternInputChannel]: """Return the ``TRIGger:B:LOGIc:PATtern:INPut:CH`` command. @@ -9340,7 +9327,6 @@ def all(self) -> TriggerBLogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicInputChannel]: """Return the ``TRIGger:B:LOGIc:INPut:CH`` command. @@ -9771,7 +9757,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -10046,7 +10031,6 @@ def aux(self) -> TriggerBEdgeSlopeAux: """ return self._aux - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeSlopeChannel]: """Return the ``TRIGger:B:EDGE:SLOpe:CH`` command. @@ -10158,7 +10142,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeCouplingChannel]: """Return the ``TRIGger:B:EDGE:COUPling:CH`` command. @@ -10479,7 +10462,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -11752,7 +11734,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -12993,7 +12974,6 @@ def sclk(self) -> TriggerASpiSclk: """ return self._sclk - # pylint: disable=invalid-name @property def ss(self) -> TriggerASpiSs: """Return the ``TRIGger:A:SPI:SS`` command tree. @@ -14484,7 +14464,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowPolarityChannel]: """Return the ``TRIGger:A:PULse:WINdow:POLarity:CH`` command. @@ -14572,7 +14551,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:WINdow:LOGIc:THReshold:CH`` command. @@ -14670,7 +14648,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicInputChannel]: r"""Return the ``TRIGger:A:PULse:WINdow:LOGIc:INPUT:CH`` command. @@ -15217,7 +15194,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWidthPolarityChannel]: """Return the ``TRIGger:A:PULse:WIDth:POLarity:CH`` command. @@ -15888,7 +15864,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTransitionPolarityChannel]: """Return the ``TRIGger:A:PULse:TRANsition:POLarity:CH`` command. @@ -16286,7 +16261,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTimeoutPolarityChannel]: """Return the ``TRIGger:A:PULse:TIMEOut:POLarity:CH`` command. @@ -16908,7 +16882,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntPolarityChannel]: """Return the ``TRIGger:A:PULse:RUNT:POLarity:CH`` command. @@ -16995,7 +16968,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:THReshold:CH`` command. @@ -17093,7 +17065,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicInputChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:INPUT:CH`` command. @@ -18015,7 +17986,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseGlitchPolarityChannel]: """Return the ``TRIGger:A:PULse:GLItch:POLarity:CH`` command. @@ -18939,7 +18909,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -19029,7 +18998,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -19139,7 +19107,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicStateInputChannel]: """Return the ``TRIGger:A:LOGIc:STATE:INPut:CH`` command. @@ -19404,7 +19371,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdDataThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -19696,7 +19662,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdClockThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -20387,7 +20352,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicPatternInputChannel]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -20653,7 +20617,6 @@ def all(self) -> TriggerALogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -21084,7 +21047,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -21350,7 +21312,6 @@ def actual(self) -> TriggerAHoldoffActual: """ return self._actual - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -21583,7 +21544,6 @@ def aux(self) -> TriggerAEdgeSlopeAux: """ return self._aux - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeSlopeChannel]: """Return the ``TRIGger:A:EDGE:SLOpe:CH`` command. @@ -21695,7 +21655,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeCouplingChannel]: """Return the ``TRIGger:A:EDGE:COUPling:CH`` command. @@ -24928,7 +24887,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusUsbSplitEt: """Return the ``TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -24973,7 +24931,6 @@ def port(self) -> TriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusUsbSplitSc: """Return the ``TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -24988,7 +24945,6 @@ def sc(self) -> TriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusUsbSplitSe: """Return the ``TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -30736,7 +30692,6 @@ def instr(self) -> TriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -30873,7 +30828,6 @@ def subsf(self) -> TriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -37037,7 +36991,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -37088,7 +37041,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/auxin.py b/src/tm_devices/commands/_5y90wx_dpodsamso/auxin.py index b136967e..35413f41 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/auxin.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/auxin.py @@ -134,7 +134,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._a = AuxinVtermDualA(device, f"{self._cmd_syntax}:A") self._b = AuxinVtermDualB(device, f"{self._cmd_syntax}:B") - # pylint: disable=invalid-name @property def a(self) -> AuxinVtermDualA: """Return the ``AUXIn:VTERm:DUAL:A`` command. @@ -161,7 +160,6 @@ def a(self) -> AuxinVtermDualA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> AuxinVtermDualB: """Return the ``AUXIn:VTERm:DUAL:B`` command. @@ -999,7 +997,6 @@ def gain(self) -> AuxinProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> AuxinProbeId: """Return the ``AUXIn:PRObe:ID`` command tree. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/calibrate.py b/src/tm_devices/commands/_5y90wx_dpodsamso/calibrate.py index e5e0089a..c3212a23 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/calibrate.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/calibrate.py @@ -142,7 +142,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: CalibrateProbestateChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, CalibrateProbestateChannel]: """Return the ``CALibrate:PRObestate:CH`` command. @@ -313,7 +312,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: CalibrateCalprobeChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, CalibrateCalprobeChannel]: """Return the ``CALibrate:CALProbe:CH`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/ch.py b/src/tm_devices/commands/_5y90wx_dpodsamso/ch.py index 6ad67dbd..2bcc14e8 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/ch.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/ch.py @@ -184,7 +184,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._a = ChannelVtermDualA(device, f"{self._cmd_syntax}:A") self._b = ChannelVtermDualB(device, f"{self._cmd_syntax}:B") - # pylint: disable=invalid-name @property def a(self) -> ChannelVtermDualA: """Return the ``CH:VTERm:DUAL:A`` command. @@ -211,7 +210,6 @@ def a(self) -> ChannelVtermDualA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> ChannelVtermDualB: """Return the ``CH:VTERm:DUAL:B`` command. @@ -1335,7 +1333,6 @@ def autozero(self) -> ChannelProbeAutozero: """ return self._autozero - # pylint: disable=invalid-name @property def dc(self) -> ChannelProbeDc: """Return the ``CH:PRObe:DC`` command tree. @@ -1438,7 +1435,6 @@ def gain(self) -> ChannelProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> ChannelProbeId: """Return the ``CH:PRObe:ID`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/cursor.py b/src/tm_devices/commands/_5y90wx_dpodsamso/cursor.py index f8b44a4a..da9adb9b 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/cursor.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/cursor.py @@ -2213,7 +2213,6 @@ def waveform(self) -> CursorWaveform: """ return self._waveform - # pylint: disable=invalid-name @property def xy(self) -> CursorXy: """Return the ``CURSor:XY`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/d.py b/src/tm_devices/commands/_5y90wx_dpodsamso/d.py index 9b69af54..6985e3a1 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/d.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/d.py @@ -168,7 +168,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._id = DigitalBitProbeId(device, f"{self._cmd_syntax}:ID") - # pylint: disable=invalid-name @property def id(self) -> DigitalBitProbeId: """Return the ``D:PROBE:ID`` command tree. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/display.py b/src/tm_devices/commands/_5y90wx_dpodsamso/display.py index 2ace5efb..05257875 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/display.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/display.py @@ -2193,7 +2193,6 @@ def caret(self) -> DisplayColorPaletteUserCaret: """ return self._caret - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayColorPaletteUserChannel]: """Return the ``DISplay:COLOr:PALEtte:USEr:CH`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/dpojet.py b/src/tm_devices/commands/_5y90wx_dpodsamso/dpojet.py index c1efec90..6fc12119 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/dpojet.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/dpojet.py @@ -3324,7 +3324,6 @@ def autoset(self) -> DpojetReflevelsAutoset: """ return self._autoset - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DpojetReflevelsChannel]: """Return the ``DPOJET:REFLevels:CH`` command tree. @@ -3423,7 +3422,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: DpojetReflevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DpojetReflevelChannel]: """Return the ``DPOJET:REFLevel:CH`` command tree. @@ -6931,7 +6929,6 @@ def ddnzero(self) -> DpojetPlotItemDataYdataDdnzero: """ return self._ddnzero - # pylint: disable=invalid-name @property def pj(self) -> DpojetPlotItemDataYdataPj: """Return the ``DPOJET:PLOT:DATA:YDATa:PJ`` command. @@ -6957,7 +6954,6 @@ def pj(self) -> DpojetPlotItemDataYdataPj: """ return self._pj - # pylint: disable=invalid-name @property def pn(self) -> DpojetPlotItemDataYdataPn: """Return the ``DPOJET:PLOT:DATA:YDATa:PN`` command. @@ -7035,7 +7031,6 @@ def rnnpn(self) -> DpojetPlotItemDataYdataRnnpn: """ return self._rnnpn - # pylint: disable=invalid-name @property def tj(self) -> DpojetPlotItemDataYdataTj: """Return the ``DPOJET:PLOT:DATA:YDATa:TJ`` command. @@ -7061,7 +7056,6 @@ def tj(self) -> DpojetPlotItemDataYdataTj: """ return self._tj - # pylint: disable=invalid-name @property def tn(self) -> DpojetPlotItemDataYdataTn: """Return the ``DPOJET:PLOT:DATA:YDATa:TN`` command. @@ -7425,7 +7419,6 @@ def ddnzero(self) -> DpojetPlotItemDataXdataDdnzero: """ return self._ddnzero - # pylint: disable=invalid-name @property def pj(self) -> DpojetPlotItemDataXdataPj: """Return the ``DPOJET:PLOT:DATA:XDATa:PJ`` command. @@ -7451,7 +7444,6 @@ def pj(self) -> DpojetPlotItemDataXdataPj: """ return self._pj - # pylint: disable=invalid-name @property def pn(self) -> DpojetPlotItemDataXdataPn: """Return the ``DPOJET:PLOT:DATA:XDATa:PN`` command. @@ -7527,7 +7519,6 @@ def rnnpn(self) -> DpojetPlotItemDataXdataRnnpn: """ return self._rnnpn - # pylint: disable=invalid-name @property def tj(self) -> DpojetPlotItemDataXdataTj: """Return the ``DPOJET:PLOT:DATA:XDATa:TJ`` command. @@ -7552,7 +7543,6 @@ def tj(self) -> DpojetPlotItemDataXdataTj: """ return self._tj - # pylint: disable=invalid-name @property def tn(self) -> DpojetPlotItemDataXdataTn: """Return the ``DPOJET:PLOT:DATA:XDATa:TN`` command. @@ -8466,7 +8456,6 @@ def numbins(self) -> DpojetPlotItemCompositenoisehistNumbins: """ # noqa: E501 return self._numbins - # pylint: disable=invalid-name @property def pn(self) -> DpojetPlotItemCompositenoisehistPn: """Return the ``DPOJET:PLOT:COMPOSITENoisehist:PN`` command. @@ -8517,7 +8506,6 @@ def rnnpn(self) -> DpojetPlotItemCompositenoisehistRnnpn: """ return self._rnnpn - # pylint: disable=invalid-name @property def tn(self) -> DpojetPlotItemCompositenoisehistTn: """Return the ``DPOJET:PLOT:COMPOSITENoisehist:TN`` command. @@ -8823,7 +8811,6 @@ def numbins(self) -> DpojetPlotItemCompositejitterhistNumbins: """ # noqa: E501 return self._numbins - # pylint: disable=invalid-name @property def pj(self) -> DpojetPlotItemCompositejitterhistPj: """Return the ``DPOJET:PLOT:COMPOSITEJitterhist:PJ`` command. @@ -8876,7 +8863,6 @@ def rjnpj(self) -> DpojetPlotItemCompositejitterhistRjnpj: """ return self._rjnpj - # pylint: disable=invalid-name @property def tj(self) -> DpojetPlotItemCompositejitterhistTj: """Return the ``DPOJET:PLOT:COMPOSITEJitterhist:TJ`` command. @@ -20566,7 +20552,6 @@ def measstart(self) -> DpojetMeasItemMeasstart: """ return self._measstart - # pylint: disable=invalid-name @property def n(self) -> DpojetMeasItemN: """Return the ``DPOJET:MEAS:N`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/email.py b/src/tm_devices/commands/_5y90wx_dpodsamso/email.py index 9bc7f513..1b153e6c 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/email.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/email.py @@ -1042,7 +1042,6 @@ def timeout(self) -> EmailTimeout: """ return self._timeout - # pylint: disable=invalid-name @property def to(self) -> EmailTo: """Return the ``EMail:TO`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/gpibusb.py b/src/tm_devices/commands/_5y90wx_dpodsamso/gpibusb.py index a92e4a7b..71213429 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/gpibusb.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/gpibusb.py @@ -148,7 +148,6 @@ def hwversion(self) -> GpibusbHwversion: """ return self._hwversion - # pylint: disable=invalid-name @property def id(self) -> GpibusbId: """Return the ``GPIBUsb:ID`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/horizontal.py b/src/tm_devices/commands/_5y90wx_dpodsamso/horizontal.py index cd48663c..710ad96d 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/horizontal.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/horizontal.py @@ -202,7 +202,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: HorizontalTimestampRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalTimestampChannel]: """Return the ``HORizontal:TIMEStamp:CH`` command. @@ -1094,7 +1093,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: HorizontalFastframeXzeroSelectedRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeXzeroSelectedChannel]: """Return the ``HORizontal:FASTframe:XZEro:SELECTED:CH`` command. @@ -1236,7 +1234,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: HorizontalFastframeXzeroFrameRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeXzeroFrameChannel]: """Return the ``HORizontal:FASTframe:XZEro:FRAme:CH`` command. @@ -1362,7 +1359,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: HorizontalFastframeXzeroAllRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeXzeroAllChannel]: """Return the ``HORizontal:FASTframe:XZEro:ALL:CH`` command. @@ -1669,7 +1665,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeTimestampSelectedChannel]: """Return the ``HORizontal:FASTframe:TIMEStamp:SELECTED:CH`` command. @@ -1724,7 +1719,6 @@ def ref(self) -> Dict[int, HorizontalFastframeTimestampSelectedRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeTimestampSelectedDigitalBit]: """Return the ``HORizontal:FASTframe:TIMEStamp:SELECTED:D`` command. @@ -1884,7 +1878,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeTimestampFrameChannel]: """Return the ``HORizontal:FASTframe:TIMEStamp:FRAMe:CH`` command. @@ -1939,7 +1932,6 @@ def ref(self) -> Dict[int, HorizontalFastframeTimestampFrameRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeTimestampFrameDigitalBit]: """Return the ``HORizontal:FASTframe:TIMEStamp:FRAMe:D`` command. @@ -2080,7 +2072,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeTimestampDeltaChannel]: """Return the ``HORizontal:FASTframe:TIMEStamp:DELTa:CH`` command. @@ -2135,7 +2126,6 @@ def ref(self) -> Dict[int, HorizontalFastframeTimestampDeltaRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeTimestampDeltaDigitalBit]: """Return the ``HORizontal:FASTframe:TIMEStamp:DELTa:D`` command. @@ -2281,7 +2271,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeTimestampBetweenChannel]: """Return the ``HORizontal:FASTframe:TIMEStamp:BETWeen:CH`` command. @@ -2336,7 +2325,6 @@ def ref(self) -> Dict[int, HorizontalFastframeTimestampBetweenRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeTimestampBetweenDigitalBit]: """Return the ``HORizontal:FASTframe:TIMEStamp:BETWeen:D`` command. @@ -2469,7 +2457,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: HorizontalFastframeTimestampAllDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeTimestampAllChannel]: """Return the ``HORizontal:FASTframe:TIMEStamp:ALL:CH`` command. @@ -2526,7 +2513,6 @@ def ref(self) -> Dict[int, HorizontalFastframeTimestampAllRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeTimestampAllDigitalBit]: """Return the ``HORizontal:FASTframe:TIMEStamp:ALL:D`` command. @@ -2989,7 +2975,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = HorizontalFastframeSelectedSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeSelectedChannel]: """Return the ``HORizontal:FASTframe:SELECTED:CH`` command. @@ -3373,7 +3358,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeMultipleframesNumframesChannel]: """Return the ``HORizontal:FASTframe:MULtipleframes:NUMFRames:CH`` command. @@ -3436,7 +3420,6 @@ def ref(self) -> Dict[int, HorizontalFastframeMultipleframesNumframesRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeMultipleframesNumframesDigitalBit]: """Return the ``HORizontal:FASTframe:MULtipleframes:NUMFRames:D`` command. @@ -3634,7 +3617,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, HorizontalFastframeMultipleframesFramestartChannel]: """Return the ``HORizontal:FASTframe:MULtipleframes:FRAMESTart:CH`` command. @@ -3697,7 +3679,6 @@ def ref(self) -> Dict[int, HorizontalFastframeMultipleframesFramestartRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, HorizontalFastframeMultipleframesFramestartDigitalBit]: """Return the ``HORizontal:FASTframe:MULtipleframes:FRAMESTart:D`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/limit.py b/src/tm_devices/commands/_5y90wx_dpodsamso/limit.py index e6ad37b7..d9442c53 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/limit.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/limit.py @@ -942,7 +942,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: LimitCompareRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, LimitCompareChannel]: """Return the ``LIMit:COMpare:CH`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/measurement.py b/src/tm_devices/commands/_5y90wx_dpodsamso/measurement.py index 8ee22ff4..363502cd 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/measurement.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/measurement.py @@ -4772,7 +4772,6 @@ def type(self) -> MeasurementAnnotationType: """ return self._type - # pylint: disable=invalid-name @property def x(self) -> Dict[int, MeasurementAnnotationXItem]: """Return the ``MEASUrement:ANNOTation:X`` command. @@ -4795,7 +4794,6 @@ def x(self) -> Dict[int, MeasurementAnnotationXItem]: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> Dict[int, MeasurementAnnotationYItem]: """Return the ``MEASUrement:ANNOTation:Y`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/search.py b/src/tm_devices/commands/_5y90wx_dpodsamso/search.py index 50ac99cb..7a110fbb 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/search.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/search.py @@ -917,7 +917,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAWindowThresholdLowChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:WINdow:THReshold:LOW:CH`` command. @@ -1141,7 +1140,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAWindowThresholdHighChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:WINdow:THReshold:HIGH:CH`` command. @@ -1589,7 +1587,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAWidthPolarityChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:WIDth:POLarity:CH`` command. @@ -2088,7 +2085,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerATransitionThresholdLowChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:TRANsition:THReshold:LOW:CH`` command. @@ -2313,7 +2309,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerATransitionThresholdHighChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:TRANsition:THReshold:HIGH:CH`` command. @@ -2610,7 +2605,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerATransitionPolarityChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:TRANsition:POLarity:CH`` command. @@ -3029,7 +3023,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerATimeoutPolarityChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:TIMEOut:POLarity:CH`` command. @@ -3628,7 +3621,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdDataThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:DATa:THReshold:CH`` command. @@ -3971,7 +3963,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdClockThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:CLOCk:THReshold:CH`` command. @@ -4550,7 +4541,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerARuntThresholdLowChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:RUNT:THReshold:LOW:CH`` command. @@ -4772,7 +4762,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerARuntThresholdHighChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:RUNT:THReshold:HIGH:CH`` command. @@ -5061,7 +5050,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerARuntPolarityChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:RUNT:POLarity:CH`` command. @@ -5719,7 +5707,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -5946,7 +5933,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -6285,7 +6271,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTriggerALevelRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -6572,7 +6557,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAGlitchPolarityChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:GLItch:POLarity:CH`` command. @@ -6926,7 +6910,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTriggerAEdgeSlopeRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAEdgeSlopeChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:EDGE:SLOpe:CH`` command. @@ -9113,7 +9096,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -9164,7 +9146,6 @@ def port(self) -> SearchSearchItemTriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -9181,7 +9162,6 @@ def sc(self) -> SearchSearchItemTriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -15889,7 +15869,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._cr = SearchSearchItemTriggerABusMipidsioneYcbcrCr(device, f"{self._cmd_syntax}:CR") self._y = SearchSearchItemTriggerABusMipidsioneYcbcrY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def cb(self) -> SearchSearchItemTriggerABusMipidsioneYcbcrCb: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPIDSIOne:YCBCR:CB`` command tree. @@ -15908,7 +15887,6 @@ def cb(self) -> SearchSearchItemTriggerABusMipidsioneYcbcrCb: """ return self._cb - # pylint: disable=invalid-name @property def cr(self) -> SearchSearchItemTriggerABusMipidsioneYcbcrCr: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPIDSIOne:YCBCR:CR`` command tree. @@ -15927,7 +15905,6 @@ def cr(self) -> SearchSearchItemTriggerABusMipidsioneYcbcrCr: """ return self._cr - # pylint: disable=invalid-name @property def y(self) -> SearchSearchItemTriggerABusMipidsioneYcbcrY: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPIDSIOne:YCBCR:Y`` command tree. @@ -17898,7 +17875,6 @@ def rgb(self) -> SearchSearchItemTriggerABusMipidsioneRgb: """ return self._rgb - # pylint: disable=invalid-name @property def vc(self) -> SearchSearchItemTriggerABusMipidsioneVc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPIDSIOne:VC`` command. @@ -17959,7 +17935,6 @@ def warning(self) -> SearchSearchItemTriggerABusMipidsioneWarning: """ return self._warning - # pylint: disable=invalid-name @property def wc(self) -> SearchSearchItemTriggerABusMipidsioneWc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPIDSIOne:WC`` command tree. @@ -18458,7 +18433,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._v = SearchSearchItemTriggerABusMipicsitwoYuvV(device, f"{self._cmd_syntax}:V") self._y = SearchSearchItemTriggerABusMipicsitwoYuvY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def u(self) -> SearchSearchItemTriggerABusMipicsitwoYuvU: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPICSITWo:YUV:U`` command tree. @@ -18477,7 +18451,6 @@ def u(self) -> SearchSearchItemTriggerABusMipicsitwoYuvU: """ return self._u - # pylint: disable=invalid-name @property def v(self) -> SearchSearchItemTriggerABusMipicsitwoYuvV: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPICSITWo:YUV:V`` command tree. @@ -18496,7 +18469,6 @@ def v(self) -> SearchSearchItemTriggerABusMipicsitwoYuvV: """ return self._v - # pylint: disable=invalid-name @property def y(self) -> SearchSearchItemTriggerABusMipicsitwoYuvY: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPICSITWo:YUV:Y`` command tree. @@ -20375,7 +20347,6 @@ def rgb(self) -> SearchSearchItemTriggerABusMipicsitwoRgb: """ return self._rgb - # pylint: disable=invalid-name @property def vc(self) -> SearchSearchItemTriggerABusMipicsitwoVc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPICSITWo:VC`` command. @@ -20436,7 +20407,6 @@ def warning(self) -> SearchSearchItemTriggerABusMipicsitwoWarning: """ return self._warning - # pylint: disable=invalid-name @property def wc(self) -> SearchSearchItemTriggerABusMipicsitwoWc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIPICSITWo:WC`` command tree. @@ -21169,7 +21139,6 @@ def instr(self) -> SearchSearchItemTriggerABusMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -21306,7 +21275,6 @@ def subsf(self) -> SearchSearchItemTriggerABusMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -29071,7 +29039,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -29252,7 +29219,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigerA: """Return the ``SEARCH:SEARCH:TRIGer:A`` command tree. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/select.py b/src/tm_devices/commands/_5y90wx_dpodsamso/select.py index 6fbd6db2..1af0d5fa 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/select.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/select.py @@ -373,7 +373,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SELec lambda x: SelectDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SelectBItem]: """Return the ``SELect:B`` command. @@ -480,7 +479,6 @@ def digtraces(self) -> SelectDigtraces: """ return self._digtraces - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SelectChannel]: """Return the ``SELect:CH`` command. @@ -542,7 +540,6 @@ def ref(self) -> Dict[int, SelectRefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SelectDigitalBit]: """Return the ``SELect:D`` command. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/trig.py b/src/tm_devices/commands/_5y90wx_dpodsamso/trig.py index 4abd1651..f1cfd7f7 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/trig.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/trig.py @@ -139,7 +139,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIG" super().__init__(device, cmd_syntax) self._a = TrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> TrigA: """Return the ``TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_5y90wx_dpodsamso/zoom.py b/src/tm_devices/commands/_5y90wx_dpodsamso/zoom.py index 056635b1..a17503a0 100644 --- a/src/tm_devices/commands/_5y90wx_dpodsamso/zoom.py +++ b/src/tm_devices/commands/_5y90wx_dpodsamso/zoom.py @@ -1572,7 +1572,6 @@ def state(self) -> ZoomZoom1State: """ return self._state - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, ZoomZoom1Channel]: """Return the ``ZOOm:ZOOM1:CH`` command tree. @@ -1605,7 +1604,6 @@ def ref(self) -> Dict[int, ZoomZoom1RefItem]: """ return self._ref - # pylint: disable=invalid-name @property def d(self) -> Dict[int, ZoomZoom1DigitalBit]: """Return the ``ZOOm:ZOOM1:D`` command tree. diff --git a/src/tm_devices/commands/_5yyb4r_mso/trigger.py b/src/tm_devices/commands/_5yyb4r_mso/trigger.py index 4476ebe9..14fc47ef 100644 --- a/src/tm_devices/commands/_5yyb4r_mso/trigger.py +++ b/src/tm_devices/commands/_5yyb4r_mso/trigger.py @@ -2241,7 +2241,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -3951,7 +3950,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWindowPolarityChannel]: """Return the ``TRIGger:B:PULse:WINdow:POLarity:CH`` command. @@ -4383,7 +4381,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseWidthPolarityChannel]: """Return the ``TRIGger:B:PULse:WIDth:POLarity:CH`` command. @@ -5054,7 +5051,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTransitionPolarityChannel]: """Return the ``TRIGger:B:PULse:TRANsition:POLarity:CH`` command. @@ -5452,7 +5448,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseTimeoutPolarityChannel]: """Return the ``TRIGger:B:PULse:TIMEOut:POLarity:CH`` command. @@ -6074,7 +6069,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseRuntPolarityChannel]: """Return the ``TRIGger:B:PULse:RUNT:POLarity:CH`` command. @@ -6905,7 +6899,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBPulseGlitchPolarityChannel]: """Return the ``TRIGger:B:PULse:GLItch:POLarity:CH`` command. @@ -7630,7 +7623,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -7720,7 +7712,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicThresholdChannel]: """Return the ``TRIGger:B:LOGIc:THReshold:CH`` command. @@ -7830,7 +7821,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicStateInputChannel]: """Return the ``TRIGger:B:LOGIc:STATE:INPut:CH`` command. @@ -8183,7 +8173,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdDataThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -8475,7 +8464,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicSetholdClockThresholdChannel]: """Return the ``TRIGger:B:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -9166,7 +9154,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicPatternInputChannel]: """Return the ``TRIGger:B:LOGIc:PATtern:INPut:CH`` command. @@ -9432,7 +9419,6 @@ def all(self) -> TriggerBLogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLogicInputChannel]: """Return the ``TRIGger:B:LOGIc:INPut:CH`` command. @@ -9864,7 +9850,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -10139,7 +10124,6 @@ def aux(self) -> TriggerBEdgeSlopeAux: """ return self._aux - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeSlopeChannel]: """Return the ``TRIGger:B:EDGE:SLOpe:CH`` command. @@ -10251,7 +10235,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBEdgeCouplingChannel]: """Return the ``TRIGger:B:EDGE:COUPling:CH`` command. @@ -10572,7 +10555,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -11845,7 +11827,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -13086,7 +13067,6 @@ def sclk(self) -> TriggerASpiSclk: """ return self._sclk - # pylint: disable=invalid-name @property def ss(self) -> TriggerASpiSs: """Return the ``TRIGger:A:SPI:SS`` command tree. @@ -14577,7 +14557,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowPolarityChannel]: """Return the ``TRIGger:A:PULse:WINdow:POLarity:CH`` command. @@ -14665,7 +14644,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:WINdow:LOGIc:THReshold:CH`` command. @@ -14763,7 +14741,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWindowLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWindowLogicInputChannel]: r"""Return the ``TRIGger:A:PULse:WINdow:LOGIc:INPUT:CH`` command. @@ -15310,7 +15287,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseWidthPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseWidthPolarityChannel]: """Return the ``TRIGger:A:PULse:WIDth:POLarity:CH`` command. @@ -15981,7 +15957,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTransitionPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTransitionPolarityChannel]: """Return the ``TRIGger:A:PULse:TRANsition:POLarity:CH`` command. @@ -16379,7 +16354,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseTimeoutPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseTimeoutPolarityChannel]: """Return the ``TRIGger:A:PULse:TIMEOut:POLarity:CH`` command. @@ -17001,7 +16975,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntPolarityChannel]: """Return the ``TRIGger:A:PULse:RUNT:POLarity:CH`` command. @@ -17088,7 +17061,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicThresholdChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:THReshold:CH`` command. @@ -17186,7 +17158,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseRuntLogicInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseRuntLogicInputChannel]: """Return the ``TRIGger:A:PULse:RUNT:LOGIc:INPUT:CH`` command. @@ -18108,7 +18079,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAPulseGlitchPolarityChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAPulseGlitchPolarityChannel]: """Return the ``TRIGger:A:PULse:GLItch:POLarity:CH`` command. @@ -19032,7 +19002,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -19122,7 +19091,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -19232,7 +19200,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicStateInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicStateInputChannel]: """Return the ``TRIGger:A:LOGIc:STATE:INPut:CH`` command. @@ -19585,7 +19552,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdDataThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdDataThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:DATa:THReshold:CH`` command. @@ -19877,7 +19843,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicSetholdClockThresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicSetholdClockThresholdChannel]: """Return the ``TRIGger:A:LOGIc:SETHold:CLOCk:THReshold:CH`` command. @@ -20568,7 +20533,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicPatternInputChannel]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -20834,7 +20798,6 @@ def all(self) -> TriggerALogicInputAll: """ return self._all - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -21266,7 +21229,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -21532,7 +21494,6 @@ def actual(self) -> TriggerAHoldoffActual: """ return self._actual - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -21765,7 +21726,6 @@ def aux(self) -> TriggerAEdgeSlopeAux: """ return self._aux - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeSlopeChannel]: """Return the ``TRIGger:A:EDGE:SLOpe:CH`` command. @@ -21877,7 +21837,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAEdgeCouplingChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAEdgeCouplingChannel]: """Return the ``TRIGger:A:EDGE:COUPling:CH`` command. @@ -25110,7 +25069,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusUsbSplitEt: """Return the ``TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -25155,7 +25113,6 @@ def port(self) -> TriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusUsbSplitSc: """Return the ``TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -25170,7 +25127,6 @@ def sc(self) -> TriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusUsbSplitSe: """Return the ``TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -30918,7 +30874,6 @@ def instr(self) -> TriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:ME`` command. @@ -31055,7 +31010,6 @@ def subsf(self) -> TriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:MIL1553B:STATUS:BIT:TF`` command. @@ -37219,7 +37173,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -37270,7 +37223,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_60ea5c_dpodsamso/bus.py b/src/tm_devices/commands/_60ea5c_dpodsamso/bus.py index 62dc40a1..30175f52 100644 --- a/src/tm_devices/commands/_60ea5c_dpodsamso/bus.py +++ b/src/tm_devices/commands/_60ea5c_dpodsamso/bus.py @@ -6961,7 +6961,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "BUS") lambda x: BusRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def b1(self) -> Dict[int, BusB1Item]: """Return the ``BUS:B1`` command tree. @@ -6977,7 +6976,6 @@ def b1(self) -> Dict[int, BusB1Item]: """ return self._b1 - # pylint: disable=invalid-name @property def b(self) -> Dict[int, BusBItem]: """Return the ``BUS:B`` command tree. @@ -7010,7 +7008,6 @@ def b(self) -> Dict[int, BusBItem]: """ return self._b - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusChannel]: """Return the ``BUS:CH`` command tree. diff --git a/src/tm_devices/commands/_6vynmi_smu/trigger.py b/src/tm_devices/commands/_6vynmi_smu/trigger.py index 4a1e3405..9f376621 100644 --- a/src/tm_devices/commands/_6vynmi_smu/trigger.py +++ b/src/tm_devices/commands/_6vynmi_smu/trigger.py @@ -2700,7 +2700,6 @@ def setblock_trigger_block_nop(self, block_number: int) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_notify(self, block_number: int, n: str) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_NOTIFY`` function. diff --git a/src/tm_devices/commands/_6w7311_smu/trigger.py b/src/tm_devices/commands/_6w7311_smu/trigger.py index cd26fd5a..8711fe29 100644 --- a/src/tm_devices/commands/_6w7311_smu/trigger.py +++ b/src/tm_devices/commands/_6w7311_smu/trigger.py @@ -2697,7 +2697,6 @@ def setblock_trigger_block_nop(self, block_number: int) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_notify(self, block_number: int, n: str) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_NOTIFY`` function. diff --git a/src/tm_devices/commands/_7kqm9p_smu/buffervar.py b/src/tm_devices/commands/_7kqm9p_smu/buffervar.py index b979c157..8c9fe3e9 100644 --- a/src/tm_devices/commands/_7kqm9p_smu/buffervar.py +++ b/src/tm_devices/commands/_7kqm9p_smu/buffervar.py @@ -595,7 +595,6 @@ def logstate(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.logstate`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name @property def n(self) -> str: """Access the ``bufferVar.n`` attribute. diff --git a/src/tm_devices/commands/_7ryhce_smu/status.py b/src/tm_devices/commands/_7ryhce_smu/status.py index 5d27ad48..63d1b821 100644 --- a/src/tm_devices/commands/_7ryhce_smu/status.py +++ b/src/tm_devices/commands/_7ryhce_smu/status.py @@ -10374,9 +10374,9 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" SMUB = "status.measurement.voltage_limit.SMUB" - """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" # noqa: E501 + """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" @property def condition(self) -> str: @@ -12666,11 +12666,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_7s2p1p_smu/smux.py b/src/tm_devices/commands/_7s2p1p_smu/smux.py index 887c5f5d..49f86ac5 100644 --- a/src/tm_devices/commands/_7s2p1p_smu/smux.py +++ b/src/tm_devices/commands/_7s2p1p_smu/smux.py @@ -827,7 +827,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -853,7 +852,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -882,7 +880,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -908,7 +905,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -934,7 +930,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -5538,7 +5533,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -5569,7 +5563,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -5611,7 +5604,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5642,7 +5634,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5673,7 +5664,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -6231,7 +6221,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -7531,7 +7520,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_7s2p1p_smu/status.py b/src/tm_devices/commands/_7s2p1p_smu/status.py index 0ad2bfb6..e06bba92 100644 --- a/src/tm_devices/commands/_7s2p1p_smu/status.py +++ b/src/tm_devices/commands/_7s2p1p_smu/status.py @@ -4865,7 +4865,7 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" @property def condition(self) -> str: @@ -7390,11 +7390,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_7s43m8_smu/status.py b/src/tm_devices/commands/_7s43m8_smu/status.py index 8a2e7fe1..2e52f1ca 100644 --- a/src/tm_devices/commands/_7s43m8_smu/status.py +++ b/src/tm_devices/commands/_7s43m8_smu/status.py @@ -10842,9 +10842,9 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" SMUB = "status.measurement.voltage_limit.SMUB" - """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" # noqa: E501 + """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" @property def condition(self) -> str: @@ -13137,11 +13137,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_7s6wr5_smu/status.py b/src/tm_devices/commands/_7s6wr5_smu/status.py index 156fadf9..e89e057b 100644 --- a/src/tm_devices/commands/_7s6wr5_smu/status.py +++ b/src/tm_devices/commands/_7s6wr5_smu/status.py @@ -10680,7 +10680,7 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" @property def condition(self) -> str: @@ -12947,11 +12947,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_8ojdkz_smu/smux.py b/src/tm_devices/commands/_8ojdkz_smu/smux.py index ab5b2b09..6a33f262 100644 --- a/src/tm_devices/commands/_8ojdkz_smu/smux.py +++ b/src/tm_devices/commands/_8ojdkz_smu/smux.py @@ -806,7 +806,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -832,7 +831,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -861,7 +859,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -887,7 +884,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -913,7 +909,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -5396,7 +5391,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -5427,7 +5421,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -5469,7 +5462,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5500,7 +5492,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5531,7 +5522,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -6038,7 +6028,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -7424,7 +7413,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_8ojdkz_smu/status.py b/src/tm_devices/commands/_8ojdkz_smu/status.py index 1754c13a..9bc319bd 100644 --- a/src/tm_devices/commands/_8ojdkz_smu/status.py +++ b/src/tm_devices/commands/_8ojdkz_smu/status.py @@ -10738,9 +10738,9 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" SMUB = "status.measurement.voltage_limit.SMUB" - """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" # noqa: E501 + """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" @property def condition(self) -> str: @@ -13001,11 +13001,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_8wm55i_smu/smux.py b/src/tm_devices/commands/_8wm55i_smu/smux.py index 25b6a948..507d2ac7 100644 --- a/src/tm_devices/commands/_8wm55i_smu/smux.py +++ b/src/tm_devices/commands/_8wm55i_smu/smux.py @@ -808,7 +808,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -834,7 +833,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -863,7 +861,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -889,7 +886,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -915,7 +911,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -5546,7 +5541,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -5577,7 +5571,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -5619,7 +5612,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5650,7 +5642,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5681,7 +5672,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -6195,7 +6185,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -7584,7 +7573,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_9kezla_smu/smux.py b/src/tm_devices/commands/_9kezla_smu/smux.py index e571f7eb..bee5c289 100644 --- a/src/tm_devices/commands/_9kezla_smu/smux.py +++ b/src/tm_devices/commands/_9kezla_smu/smux.py @@ -808,7 +808,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -834,7 +833,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -863,7 +861,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -889,7 +886,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -915,7 +911,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -5546,7 +5541,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -5577,7 +5571,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -5619,7 +5612,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5650,7 +5642,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5681,7 +5672,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -6195,7 +6185,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -7574,7 +7563,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_9mzp2j_smu/digio.py b/src/tm_devices/commands/_9mzp2j_smu/digio.py index 842c0fa5..a6de6eeb 100644 --- a/src/tm_devices/commands/_9mzp2j_smu/digio.py +++ b/src/tm_devices/commands/_9mzp2j_smu/digio.py @@ -571,7 +571,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``digio.readbit()`` function. @@ -629,7 +628,6 @@ def readport(self) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.readport()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``digio.writebit()`` function. diff --git a/src/tm_devices/commands/_9mzp2j_smu/tsplink.py b/src/tm_devices/commands/_9mzp2j_smu/tsplink.py index 203927fe..d48a4d9b 100644 --- a/src/tm_devices/commands/_9mzp2j_smu/tsplink.py +++ b/src/tm_devices/commands/_9mzp2j_smu/tsplink.py @@ -771,7 +771,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``tsplink.readbit()`` function. @@ -860,7 +859,6 @@ def reset(self, expected_nodes: Optional[int] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``tsplink.writebit()`` function. diff --git a/src/tm_devices/commands/_9nnkq7_smu/status.py b/src/tm_devices/commands/_9nnkq7_smu/status.py index b3a16c4a..cffc3a9d 100644 --- a/src/tm_devices/commands/_9nnkq7_smu/status.py +++ b/src/tm_devices/commands/_9nnkq7_smu/status.py @@ -10380,9 +10380,9 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" SMUB = "status.measurement.voltage_limit.SMUB" - """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" # noqa: E501 + """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" @property def condition(self) -> str: @@ -12672,11 +12672,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_9slyux_smu/status.py b/src/tm_devices/commands/_9slyux_smu/status.py index ff043f03..1bef2fec 100644 --- a/src/tm_devices/commands/_9slyux_smu/status.py +++ b/src/tm_devices/commands/_9slyux_smu/status.py @@ -10686,7 +10686,7 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" @property def condition(self) -> str: @@ -12953,11 +12953,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_ahkybr_smu/buffervar.py b/src/tm_devices/commands/_ahkybr_smu/buffervar.py index fb5c27d0..52c383a5 100644 --- a/src/tm_devices/commands/_ahkybr_smu/buffervar.py +++ b/src/tm_devices/commands/_ahkybr_smu/buffervar.py @@ -700,7 +700,6 @@ def measureranges(self) -> Dict[int, Union[str, float]]: """ return self._measureranges - # pylint: disable=invalid-name @property def n(self) -> str: """Access the ``bufferVar.n`` attribute. diff --git a/src/tm_devices/commands/_ak4990_smu/smux.py b/src/tm_devices/commands/_ak4990_smu/smux.py index 44f7fc17..7ef3b610 100644 --- a/src/tm_devices/commands/_ak4990_smu/smux.py +++ b/src/tm_devices/commands/_ak4990_smu/smux.py @@ -808,7 +808,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -834,7 +833,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -863,7 +861,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -889,7 +886,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -915,7 +911,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -5546,7 +5541,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -5577,7 +5571,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -5619,7 +5612,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5650,7 +5642,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5681,7 +5672,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -6195,7 +6185,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -7581,7 +7570,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_am6pcr_smu/smux.py b/src/tm_devices/commands/_am6pcr_smu/smux.py index ea182dbd..dd20348b 100644 --- a/src/tm_devices/commands/_am6pcr_smu/smux.py +++ b/src/tm_devices/commands/_am6pcr_smu/smux.py @@ -749,7 +749,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -775,7 +774,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -804,7 +802,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -830,7 +827,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -856,7 +852,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -4983,7 +4978,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -5014,7 +5008,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -5056,7 +5049,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5087,7 +5079,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5118,7 +5109,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -5601,7 +5591,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -6911,7 +6900,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_am6pcr_smu/status.py b/src/tm_devices/commands/_am6pcr_smu/status.py index 64db171d..5bf04671 100644 --- a/src/tm_devices/commands/_am6pcr_smu/status.py +++ b/src/tm_devices/commands/_am6pcr_smu/status.py @@ -10660,7 +10660,7 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" @property def condition(self) -> str: @@ -13181,11 +13181,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_amm5lc_smu/digio.py b/src/tm_devices/commands/_amm5lc_smu/digio.py index 04d34492..8117558a 100644 --- a/src/tm_devices/commands/_amm5lc_smu/digio.py +++ b/src/tm_devices/commands/_amm5lc_smu/digio.py @@ -623,7 +623,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``digio.readbit()`` function. @@ -681,7 +680,6 @@ def readport(self) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.readport()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``digio.writebit()`` function. diff --git a/src/tm_devices/commands/_amm5lc_smu/tsplink.py b/src/tm_devices/commands/_amm5lc_smu/tsplink.py index b5641827..504afb4f 100644 --- a/src/tm_devices/commands/_amm5lc_smu/tsplink.py +++ b/src/tm_devices/commands/_amm5lc_smu/tsplink.py @@ -817,7 +817,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``tsplink.readbit()`` function. @@ -906,7 +905,6 @@ def reset(self, expected_nodes: Optional[int] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``tsplink.writebit()`` function. diff --git a/src/tm_devices/commands/_as1ejq_smu/smux.py b/src/tm_devices/commands/_as1ejq_smu/smux.py index 60b89e89..23ce4dec 100644 --- a/src/tm_devices/commands/_as1ejq_smu/smux.py +++ b/src/tm_devices/commands/_as1ejq_smu/smux.py @@ -749,7 +749,6 @@ def stimulus(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.stimulus`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def i(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.i()`` function. @@ -775,7 +774,6 @@ def i(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv(self, ibuffer: str, vbuffer: str) -> None: """Run the ``smuX.trigger.measure.iv()`` function. @@ -804,7 +802,6 @@ def iv(self, ibuffer: str, vbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.p()`` function. @@ -830,7 +827,6 @@ def p(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.r()`` function. @@ -856,7 +852,6 @@ def r(self, rbuffer: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, rbuffer: str) -> None: """Run the ``smuX.trigger.measure.v()`` function. @@ -4911,7 +4906,6 @@ def rel(self) -> SmuxItemMeasureRel: """ return self._rel - # pylint: disable=invalid-name def i(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.i()`` function. @@ -4942,7 +4936,6 @@ def i(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.i()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def iv( self, i_reading_buffer: Optional[str] = None, v_reading_buffer: Optional[str] = None ) -> str: @@ -4984,7 +4977,6 @@ def iv( msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.iv()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def p(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.p()`` function. @@ -5015,7 +5007,6 @@ def p(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.p()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.r()`` function. @@ -5046,7 +5037,6 @@ def r(self, reading_buffer: Optional[str] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.r()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def v(self, reading_buffer: Optional[str] = None) -> str: """Run the ``smuX.measure.v()`` function. @@ -5529,7 +5519,6 @@ def check(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.check()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def r(self) -> str: """Run the ``smuX.contact.r()`` function. @@ -6861,7 +6850,6 @@ def reset(self) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def savebuffer(self, y: str) -> None: """Run the ``smuX.savebuffer()`` function. diff --git a/src/tm_devices/commands/_as1ejq_smu/status.py b/src/tm_devices/commands/_as1ejq_smu/status.py index cca5c8df..68adf1c0 100644 --- a/src/tm_devices/commands/_as1ejq_smu/status.py +++ b/src/tm_devices/commands/_as1ejq_smu/status.py @@ -10665,7 +10665,7 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" @property def condition(self) -> str: @@ -13472,11 +13472,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_au597k_smu/digio.py b/src/tm_devices/commands/_au597k_smu/digio.py index 935de730..86985f3c 100644 --- a/src/tm_devices/commands/_au597k_smu/digio.py +++ b/src/tm_devices/commands/_au597k_smu/digio.py @@ -613,7 +613,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``digio.readbit()`` function. @@ -669,7 +668,6 @@ def readport(self) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.readport()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``digio.writebit()`` function. diff --git a/src/tm_devices/commands/_au597k_smu/tsplink.py b/src/tm_devices/commands/_au597k_smu/tsplink.py index 613b05f4..c92dec5a 100644 --- a/src/tm_devices/commands/_au597k_smu/tsplink.py +++ b/src/tm_devices/commands/_au597k_smu/tsplink.py @@ -804,7 +804,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``tsplink.readbit()`` function. @@ -890,7 +889,6 @@ def reset(self, expected_nodes: Optional[int] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``tsplink.writebit()`` function. diff --git a/src/tm_devices/commands/_awhjao_smu/status.py b/src/tm_devices/commands/_awhjao_smu/status.py index b1053470..6c18661c 100644 --- a/src/tm_devices/commands/_awhjao_smu/status.py +++ b/src/tm_devices/commands/_awhjao_smu/status.py @@ -10848,9 +10848,9 @@ class StatusMeasurementVoltageLimit(BaseTSPCmd): """ SMUA = "status.measurement.voltage_limit.SMUA" - """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" # noqa: E501 + """str: B1. Set bit indicates the enabled VLMT bit for the SMU A measurement register is set.""" SMUB = "status.measurement.voltage_limit.SMUB" - """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" # noqa: E501 + """str: B2. Set bit indicates the enabled VLMT bit for the SMU B measurement register is set.""" @property def condition(self) -> str: @@ -13143,11 +13143,11 @@ class Status(BaseTSPCmd): MASTER_SUMMARY_STATUS = "status.MASTER_SUMMARY_STATUS" """str: B6. Request Service (RQS)/Master Summary Status (MSS). Depending on how it is used, bit B6 of the status byte register is either the Request for Service (RQS) bit or the Master Summary Status (MSS) bit.""" # noqa: E501 MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MEASUREMENT_SUMMARY_BIT = "status.MEASUREMENT_SUMMARY_BIT" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MESSAGE_AVAILABLE = "status.MESSAGE_AVAILABLE" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_by991s_smudaq/status.py b/src/tm_devices/commands/_by991s_smudaq/status.py index c29b9f26..f8d45c0b 100644 --- a/src/tm_devices/commands/_by991s_smudaq/status.py +++ b/src/tm_devices/commands/_by991s_smudaq/status.py @@ -607,7 +607,7 @@ class Status(BaseTSPCmd): ESB = "status.ESB" """str: B5. Set summary bit indicates that an enabled standard event has occurred.""" MAV = "status.MAV" - """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" # noqa: E501 + """str: B4. Set summary bit indicates that a response message is present in the Output Queue.""" MSB = "status.MSB" """str: B0. Set summary bit indicates that an enabled measurement event has occurred.""" MSS = "status.MSS" diff --git a/src/tm_devices/commands/_c3g63_lpdmso/bus.py b/src/tm_devices/commands/_c3g63_lpdmso/bus.py index e8a0dd47..843772bd 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/bus.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/bus.py @@ -17054,7 +17054,6 @@ def dplus(self) -> BusBItemDphyDplus: """ return self._dplus - # pylint: disable=invalid-name @property def lp(self) -> BusBItemDphyLp: """Return the ``BUS:B:DPHY:LP`` command tree. @@ -18110,7 +18109,6 @@ def data(self) -> BusBItemCphyCData: """ return self._data - # pylint: disable=invalid-name @property def lp(self) -> BusBItemCphyCLp: """Return the ``BUS:B:CPHY:C:LP`` command tree. @@ -18996,7 +18994,6 @@ def data(self) -> BusBItemCphyAData: """ return self._data - # pylint: disable=invalid-name @property def lp(self) -> BusBItemCphyALp: """Return the ``BUS:B:CPHY:A:LP`` command tree. @@ -19087,7 +19084,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._signaltype = BusBItemCphySignaltype(device, f"{self._cmd_syntax}:SIGNALTYpe") self._subtype = BusBItemCphySubtype(device, f"{self._cmd_syntax}:SUBTYPe") - # pylint: disable=invalid-name @property def a(self) -> BusBItemCphyA: """Return the ``BUS:B:CPHY:A`` command tree. @@ -19107,7 +19103,6 @@ def a(self) -> BusBItemCphyA: """ return self._a - # pylint: disable=invalid-name @property def ab(self) -> BusBItemCphyAb: """Return the ``BUS:B:CPHY:AB`` command tree. @@ -19144,7 +19139,6 @@ def agnd(self) -> BusBItemCphyAgnd: """ return self._agnd - # pylint: disable=invalid-name @property def b(self) -> BusBItemCphyB: """Return the ``BUS:B:CPHY:B`` command tree. @@ -19163,7 +19157,6 @@ def b(self) -> BusBItemCphyB: """ return self._b - # pylint: disable=invalid-name @property def bc(self) -> BusBItemCphyBc: """Return the ``BUS:B:CPHY:BC`` command tree. @@ -19211,7 +19204,6 @@ def bitrate(self) -> BusBItemCphyBitrate: """ return self._bitrate - # pylint: disable=invalid-name @property def c(self) -> BusBItemCphyC: """Return the ``BUS:B:CPHY:C`` command tree. @@ -19231,7 +19223,6 @@ def c(self) -> BusBItemCphyC: """ return self._c - # pylint: disable=invalid-name @property def ca(self) -> BusBItemCphyCa: """Return the ``BUS:B:CPHY:CA`` command tree. @@ -19268,7 +19259,6 @@ def cgnd(self) -> BusBItemCphyCgnd: """ return self._cgnd - # pylint: disable=invalid-name @property def lp(self) -> BusBItemCphyLp: """Return the ``BUS:B:CPHY:LP`` command tree. @@ -19766,7 +19756,6 @@ def bitrate(self) -> BusBItemCanBitrate: """ # noqa: E501 return self._bitrate - # pylint: disable=invalid-name @property def fd(self) -> BusBItemCanFd: """Return the ``BUS:B:CAN:FD`` command tree. @@ -23151,7 +23140,6 @@ def addnew(self) -> BusAddnew: """ return self._addnew - # pylint: disable=invalid-name @property def b(self) -> Dict[int, BusBItem]: """Return the ``BUS:B`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/ch.py b/src/tm_devices/commands/_c3g63_lpdmso/ch.py index e80c4886..680581ae 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/ch.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/ch.py @@ -2447,7 +2447,6 @@ def gain(self) -> ChannelProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> ChannelProbeId: """Return the ``CH:PRObe:ID`` command. @@ -4292,7 +4291,6 @@ def scale(self) -> ChannelScale: """ return self._scale - # pylint: disable=invalid-name @property def sv(self) -> ChannelSv: """Return the ``CH:SV`` command tree. @@ -4361,7 +4359,6 @@ def vterm(self) -> ChannelVterm: """ return self._vterm - # pylint: disable=invalid-name @property def d(self) -> Dict[int, ChannelDigitalBit]: """Return the ``CH_D`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/diggrp.py b/src/tm_devices/commands/_c3g63_lpdmso/diggrp.py index c4b9b7de..cc57e584 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/diggrp.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/diggrp.py @@ -127,7 +127,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "DIGGR lambda x: DiggrpItemDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DiggrpItemDigitalBit]: """Return the ``DIGGRP:D`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/display.py b/src/tm_devices/commands/_c3g63_lpdmso/display.py index 287a531b..57be5fa9 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/display.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/display.py @@ -5422,7 +5422,6 @@ def vertical(self) -> DisplayWaveview1ChannelVertical: """ return self._vertical - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DisplayWaveview1ChannelDigitalBit]: """Return the ``DISplay:WAVEView1:CH_D`` command tree. @@ -5641,7 +5640,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: DisplayWaveview1BusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, DisplayWaveview1BusBItem]: """Return the ``DISplay:WAVEView1:BUS:B`` command tree. @@ -5733,7 +5731,6 @@ def bus(self) -> DisplayWaveview1Bus: """ return self._bus - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayWaveview1Channel]: """Return the ``DISplay:WAVEView1:CH`` command tree. @@ -8160,7 +8157,6 @@ def from_(self) -> DisplayReffftviewItemZoomYaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayReffftviewItemZoomYaxisTo: """Return the ``DISplay:REFFFTView:ZOOM:YAXIS:TO`` command. @@ -8291,7 +8287,6 @@ def from_(self) -> DisplayReffftviewItemZoomXaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayReffftviewItemZoomXaxisTo: """Return the ``DISplay:REFFFTView:ZOOM:XAXIS:TO`` command. @@ -10900,7 +10895,6 @@ def from_(self) -> DisplayPlotview1ZoomYaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayPlotview1ZoomYaxisTo: """Return the ``DISplay:PLOTView1:ZOOM:YAXIS:TO`` command. @@ -11030,7 +11024,6 @@ def from_(self) -> DisplayPlotview1ZoomXaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayPlotview1ZoomXaxisTo: """Return the ``DISplay:PLOTView1:ZOOM:XAXIS:TO`` command. @@ -13329,7 +13322,6 @@ def from_(self) -> DisplayMathfftview1ZoomYaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayMathfftview1ZoomYaxisTo: """Return the ``DISplay:MATHFFTView1:ZOOM:YAXIS:TO`` command. @@ -13461,7 +13453,6 @@ def from_(self) -> DisplayMathfftview1ZoomXaxisFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> DisplayMathfftview1ZoomXaxisTo: """Return the ``DISplay:MATHFFTView1:ZOOM:XAXIS:TO`` command. @@ -16260,7 +16251,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: DisplayGlobalRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, DisplayGlobalBItem]: """Return the ``DISplay:GLObal:B`` command tree. @@ -16275,7 +16265,6 @@ def b(self) -> Dict[int, DisplayGlobalBItem]: """ return self._b - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayGlobalChannel]: """Return the ``DISplay:GLObal:CH`` command tree. @@ -16880,7 +16869,6 @@ def waveform(self) -> DisplayWaveform: """ return self._waveform - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, DisplayChannel]: """Return the ``DISplay:CH`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/measurement.py b/src/tm_devices/commands/_c3g63_lpdmso/measurement.py index 4b534bd9..7f290486 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/measurement.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/measurement.py @@ -11435,7 +11435,6 @@ def npj(self) -> MeasurementMeasItemJittersummaryNpj: """ return self._npj - # pylint: disable=invalid-name @property def pj(self) -> MeasurementMeasItemJittersummaryPj: """Return the ``MEASUrement:MEAS:JITTERSummary:PJ`` command. @@ -14519,7 +14518,6 @@ def lowerfrequency(self) -> MeasurementMeasItemEdgesLowerfrequency: """ return self._lowerfrequency - # pylint: disable=invalid-name @property def n(self) -> MeasurementMeasItemEdgesN: """Return the ``MEASUrement:MEAS:EDGES:N`` command. @@ -28753,7 +28751,6 @@ def autoset(self) -> MeasurementAutoset: """ return self._autoset - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, MeasurementChannel]: """Return the ``MEASUrement:CH`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/plot.py b/src/tm_devices/commands/_c3g63_lpdmso/plot.py index fb77336a..68a7fc03 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/plot.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/plot.py @@ -467,7 +467,6 @@ def from_(self) -> PlotPlotItemMaskoffsetPercentuiFrom: """ return self._from - # pylint: disable=invalid-name @property def to(self) -> PlotPlotItemMaskoffsetPercentuiTo: """Return the ``PLOT:PLOT:MASKOffset:PERCENTui:TO`` command. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/ref.py b/src/tm_devices/commands/_c3g63_lpdmso/ref.py index c9f12123..f79a2f61 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/ref.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/ref.py @@ -1123,7 +1123,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "REF Dict[int, RefItemDigitalBit]: """Return the ``REF_D`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/search.py b/src/tm_devices/commands/_c3g63_lpdmso/search.py index ce6d398b..d396236d 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/search.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/search.py @@ -3002,7 +3002,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerASetholdLogicpatternChannelDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:LOGICPattern:CH_D`` command. @@ -3078,7 +3077,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdLogicpatternChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:LOGICPattern:CH`` command. @@ -3313,7 +3311,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdLevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:LEVel:CH`` command. @@ -5011,7 +5008,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicLogicpatternChannelDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:LOGICPattern:CH_D`` command. @@ -5086,7 +5082,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicLogicpatternChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:LOGICPattern:CH`` command. @@ -5316,7 +5311,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicLevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:LEVel:CH`` command. @@ -13425,7 +13419,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:USB:SPLIT:ET`` command tree. @@ -13474,7 +13467,6 @@ def port(self) -> SearchSearchItemTriggerABusUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:USB:SPLIT:SC`` command tree. @@ -13491,7 +13483,6 @@ def sc(self) -> SearchSearchItemTriggerABusUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:USB:SPLIT:SE`` command tree. @@ -23102,7 +23093,6 @@ def instr(self) -> SearchSearchItemTriggerABusMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIL1553B:STATus:BIT:ME`` command. @@ -23200,7 +23190,6 @@ def subsf(self) -> SearchSearchItemTriggerABusMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:MIL1553B:STATus:BIT:TF`` command. @@ -29389,7 +29378,6 @@ def gsmsb(self) -> SearchSearchItemTriggerABusI3cGsmsb: """ return self._gsmsb - # pylint: disable=invalid-name @property def id(self) -> SearchSearchItemTriggerABusI3cId: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:I3C:ID`` command tree. @@ -32433,7 +32421,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusEusbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusEusbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusEusbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:EUSB:SPLit:ET`` command tree. @@ -32482,7 +32469,6 @@ def port(self) -> SearchSearchItemTriggerABusEusbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusEusbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:EUSB:SPLit:SC`` command tree. @@ -32499,7 +32485,6 @@ def sc(self) -> SearchSearchItemTriggerABusEusbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusEusbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:EUSB:SPLit:SE`` command tree. @@ -43081,7 +43066,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._v = SearchSearchItemTriggerABusDphyYuvV(device, f"{self._cmd_syntax}:V") self._y = SearchSearchItemTriggerABusDphyYuvY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def u(self) -> SearchSearchItemTriggerABusDphyYuvU: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:DPHY:YUV:U`` command. @@ -43111,7 +43095,6 @@ def u(self) -> SearchSearchItemTriggerABusDphyYuvU: """ return self._u - # pylint: disable=invalid-name @property def v(self) -> SearchSearchItemTriggerABusDphyYuvV: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:DPHY:YUV:V`` command. @@ -43141,7 +43124,6 @@ def v(self) -> SearchSearchItemTriggerABusDphyYuvV: """ return self._v - # pylint: disable=invalid-name @property def y(self) -> SearchSearchItemTriggerABusDphyYuvY: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:DPHY:YUV:Y`` command. @@ -43284,7 +43266,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._cr = SearchSearchItemTriggerABusDphyYcbcrCr(device, f"{self._cmd_syntax}:CR") self._y = SearchSearchItemTriggerABusDphyYcbcrY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def cb(self) -> SearchSearchItemTriggerABusDphyYcbcrCb: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:DPHY:YCBCR:CB`` command. @@ -43315,7 +43296,6 @@ def cb(self) -> SearchSearchItemTriggerABusDphyYcbcrCb: """ return self._cb - # pylint: disable=invalid-name @property def cr(self) -> SearchSearchItemTriggerABusDphyYcbcrCr: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:DPHY:YCBCR:CR`` command. @@ -43346,7 +43326,6 @@ def cr(self) -> SearchSearchItemTriggerABusDphyYcbcrCr: """ return self._cr - # pylint: disable=invalid-name @property def y(self) -> SearchSearchItemTriggerABusDphyYcbcrY: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:DPHY:YCBCR:Y`` command. @@ -45965,7 +45944,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._v = SearchSearchItemTriggerABusCphyYuvV(device, f"{self._cmd_syntax}:V") self._y = SearchSearchItemTriggerABusCphyYuvY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def u(self) -> SearchSearchItemTriggerABusCphyYuvU: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CPHY:YUV:U`` command. @@ -45995,7 +45973,6 @@ def u(self) -> SearchSearchItemTriggerABusCphyYuvU: """ return self._u - # pylint: disable=invalid-name @property def v(self) -> SearchSearchItemTriggerABusCphyYuvV: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CPHY:YUV:V`` command. @@ -46025,7 +46002,6 @@ def v(self) -> SearchSearchItemTriggerABusCphyYuvV: """ return self._v - # pylint: disable=invalid-name @property def y(self) -> SearchSearchItemTriggerABusCphyYuvY: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CPHY:YUV:Y`` command. @@ -46168,7 +46144,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._cr = SearchSearchItemTriggerABusCphyYcbcrCr(device, f"{self._cmd_syntax}:CR") self._y = SearchSearchItemTriggerABusCphyYcbcrY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def cb(self) -> SearchSearchItemTriggerABusCphyYcbcrCb: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CPHY:YCBCR:CB`` command. @@ -46199,7 +46174,6 @@ def cb(self) -> SearchSearchItemTriggerABusCphyYcbcrCb: """ return self._cb - # pylint: disable=invalid-name @property def cr(self) -> SearchSearchItemTriggerABusCphyYcbcrCr: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CPHY:YCBCR:CR`` command. @@ -46230,7 +46204,6 @@ def cr(self) -> SearchSearchItemTriggerABusCphyYcbcrCr: """ return self._cr - # pylint: disable=invalid-name @property def y(self) -> SearchSearchItemTriggerABusCphyYcbcrY: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CPHY:YCBCR:Y`` command. @@ -48885,7 +48858,6 @@ def errtype(self) -> SearchSearchItemTriggerABusCanErrtype: """ return self._errtype - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:CAN:FD`` command tree. @@ -49727,7 +49699,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._a = SearchSearchItemTriggerABusBPsifiveDataRegionA(device, f"{self._cmd_syntax}:A") self._b = SearchSearchItemTriggerABusBPsifiveDataRegionB(device, f"{self._cmd_syntax}:B") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerABusBPsifiveDataRegionA: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:PSIFIVe:DATa:REGion:A`` command tree. @@ -49745,7 +49716,6 @@ def a(self) -> SearchSearchItemTriggerABusBPsifiveDataRegionA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> SearchSearchItemTriggerABusBPsifiveDataRegionB: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:PSIFIVe:DATa:REGion:B`` command tree. @@ -54122,7 +54092,6 @@ def autoethernet(self) -> SearchSearchItemTriggerABusAutoethernet: """ return self._autoethernet - # pylint: disable=invalid-name @property def b(self) -> SearchSearchItemTriggerABusB: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -55392,7 +55361,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/sv.py b/src/tm_devices/commands/_c3g63_lpdmso/sv.py index eadea7cd..cbbf15d9 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/sv.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/sv.py @@ -218,7 +218,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._a = SvSpectrogramCursorA(device, f"{self._cmd_syntax}:A") self._b = SvSpectrogramCursorB(device, f"{self._cmd_syntax}:B") - # pylint: disable=invalid-name @property def a(self) -> SvSpectrogramCursorA: """Return the ``SV:SPECtrogram:CURSor:A`` command. @@ -249,7 +248,6 @@ def a(self) -> SvSpectrogramCursorA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> SvSpectrogramCursorB: """Return the ``SV:SPECtrogram:CURSor:B`` command. @@ -2931,7 +2929,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SV") self._spectrogram = SvSpectrogram(device, f"{self._cmd_syntax}:SPECtrogram") self._window = SvWindow(device, f"{self._cmd_syntax}:WINDOW") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SvChannel]: """Return the ``SV:CH`` command tree. diff --git a/src/tm_devices/commands/_c3g63_lpdmso/trigger.py b/src/tm_devices/commands/_c3g63_lpdmso/trigger.py index f487bbfe..f0188ffa 100644 --- a/src/tm_devices/commands/_c3g63_lpdmso/trigger.py +++ b/src/tm_devices/commands/_c3g63_lpdmso/trigger.py @@ -1523,7 +1523,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBUpperthresholdChannel]: """Return the ``TRIGger:B:UPPerthreshold:CH`` command. @@ -2545,7 +2544,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._b = TriggerBSetholdlogicvalB(device, f"{self._cmd_syntax}:B") - # pylint: disable=invalid-name @property def b(self) -> TriggerBSetholdlogicvalB: """Return the ``TRIGger:B:SETHOLDLogicval:B`` command. @@ -3755,7 +3753,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -4272,7 +4269,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._b = TriggerBLogicpatternB(device, f"{self._cmd_syntax}:B") - # pylint: disable=invalid-name @property def b(self) -> TriggerBLogicpatternB: """Return the ``TRIGger:B:LOGICPattern:B`` command. @@ -4348,7 +4344,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -5175,7 +5170,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerBBusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerBBusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerBBusBItemUsbSplitEt: """Return the ``TRIGger:B:BUS:B:USB:SPLit:ET`` command tree. @@ -5223,7 +5217,6 @@ def port(self) -> TriggerBBusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerBBusBItemUsbSplitSc: """Return the ``TRIGger:B:BUS:B:USB:SPLit:SC`` command tree. @@ -5239,7 +5232,6 @@ def sc(self) -> TriggerBBusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerBBusBItemUsbSplitSe: """Return the ``TRIGger:B:BUS:B:USB:SPLit:SE`` command tree. @@ -10577,7 +10569,6 @@ def instr(self) -> TriggerBBusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerBBusBItemMil1553bStatusBitMe: """Return the ``TRIGger:B:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -10675,7 +10666,6 @@ def subsf(self) -> TriggerBBusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerBBusBItemMil1553bStatusBitTf: """Return the ``TRIGger:B:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -17961,7 +17951,6 @@ def errtype(self) -> TriggerBBusBItemCanErrtype: """ return self._errtype - # pylint: disable=invalid-name @property def fd(self) -> TriggerBBusBItemCanFd: """Return the ``TRIGger:B:BUS:B:CAN:FD`` command tree. @@ -19782,7 +19771,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerBBusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerBBusBItem]: """Return the ``TRIGger:B:BUS:B`` command tree. @@ -19896,7 +19884,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._upperthreshold = TriggerBUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") self._window = TriggerBWindow(device, f"{self._cmd_syntax}:WINdow") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -20711,7 +20698,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -21678,7 +21664,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = TriggerASetholdlogicvalA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> TriggerASetholdlogicvalA: """Return the ``TRIGger:A:SETHOLDLogicval:A`` command. @@ -22479,7 +22464,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -23024,7 +23008,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = TriggerALogicpatternA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> TriggerALogicpatternA: """Return the ``TRIGger:A:LOGICPattern:A`` command. @@ -23100,7 +23083,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALevelChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -23204,7 +23186,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._by = TriggerAHoldoffBy(device, f"{self._cmd_syntax}:BY") self._time = TriggerAHoldoffTime(device, f"{self._cmd_syntax}:TIMe") - # pylint: disable=invalid-name @property def by(self) -> TriggerAHoldoffBy: """Return the ``TRIGger:A:HOLDoff:BY`` command. @@ -23965,7 +23946,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusBItemUsbSplitEt: """Return the ``TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -24013,7 +23993,6 @@ def port(self) -> TriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusBItemUsbSplitSc: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -24029,7 +24008,6 @@ def sc(self) -> TriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusBItemUsbSplitSe: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -29367,7 +29345,6 @@ def instr(self) -> TriggerABusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusBItemMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -29465,7 +29442,6 @@ def subsf(self) -> TriggerABusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusBItemMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -36751,7 +36727,6 @@ def errtype(self) -> TriggerABusBItemCanErrtype: """ return self._errtype - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -38572,7 +38547,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -39126,7 +39100,6 @@ def state(self) -> TriggerState: """ return self._state - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command tree. @@ -39158,7 +39131,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command tree. diff --git a/src/tm_devices/commands/_c69b1_lpdmso/callouts.py b/src/tm_devices/commands/_c69b1_lpdmso/callouts.py index 9c703b01..2a85c8d3 100644 --- a/src/tm_devices/commands/_c69b1_lpdmso/callouts.py +++ b/src/tm_devices/commands/_c69b1_lpdmso/callouts.py @@ -474,7 +474,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._x = CalloutsCalloutItemDisplaypositionX(device, f"{self._cmd_syntax}:X") self._y = CalloutsCalloutItemDisplaypositionY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def x(self) -> CalloutsCalloutItemDisplaypositionX: """Return the ``CALLOUTS:CALLOUT:DISPLAYPOSition:X`` command. @@ -503,7 +502,6 @@ def x(self) -> CalloutsCalloutItemDisplaypositionX: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> CalloutsCalloutItemDisplaypositionY: """Return the ``CALLOUTS:CALLOUT:DISPLAYPOSition:Y`` command. diff --git a/src/tm_devices/commands/_c69b1_lpdmso/vertical.py b/src/tm_devices/commands/_c69b1_lpdmso/vertical.py index 7d2fa8e0..fa678a3c 100644 --- a/src/tm_devices/commands/_c69b1_lpdmso/vertical.py +++ b/src/tm_devices/commands/_c69b1_lpdmso/vertical.py @@ -364,7 +364,6 @@ def static(self) -> VerticalDeskewStatic: """ return self._static - # pylint: disable=invalid-name @property def to(self) -> VerticalDeskewTo: """Return the ``VERTical:DESKew:TO`` command tree. diff --git a/src/tm_devices/commands/_canxny_daq/buffer.py b/src/tm_devices/commands/_canxny_daq/buffer.py index a91e0594..ff69019d 100644 --- a/src/tm_devices/commands/_canxny_daq/buffer.py +++ b/src/tm_devices/commands/_canxny_daq/buffer.py @@ -218,7 +218,7 @@ class Buffer(BaseTSPCmd): COL_CSV_CHAN_COLS = "buffer.COL_CSV_CHAN_COLS" """str: Ignore other columns and use a special format with a column per channel.""" COL_CSV_EASY_GRAPH = "buffer.COL_CSV_EASY_GRAPH" - """str: Ignore other columns and use special format that is easy to graph in Microsoft Excel.""" # noqa: E501 + """str: Ignore other columns and use special format that is easy to graph in Microsoft Excel.""" COL_DISPLAY_DIGITS = "buffer.COL_DISPLAY_DIGITS" """str: Save display digits from the specified reading buffer.""" COL_EXTRA = "buffer.COL_EXTRA" diff --git a/src/tm_devices/commands/_canxny_daq/buffervar.py b/src/tm_devices/commands/_canxny_daq/buffervar.py index 3eff158c..98dbb993 100644 --- a/src/tm_devices/commands/_canxny_daq/buffervar.py +++ b/src/tm_devices/commands/_canxny_daq/buffervar.py @@ -603,7 +603,6 @@ def logstate(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.logstate`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name @property def n(self) -> str: """Access the ``bufferVar.n`` attribute. diff --git a/src/tm_devices/commands/_canxny_daq/trigger.py b/src/tm_devices/commands/_canxny_daq/trigger.py index 96c3294c..5b0cc75c 100644 --- a/src/tm_devices/commands/_canxny_daq/trigger.py +++ b/src/tm_devices/commands/_canxny_daq/trigger.py @@ -2303,7 +2303,6 @@ def setblock_trigger_block_delay_constant(self, block_number: int, time: str) -> msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_delay_dynamic(self, block_number: int, n: int) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_DELAY_DYNAMIC`` function. @@ -2472,7 +2471,6 @@ def setblock_trigger_block_nop(self, block_number: int) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_notify(self, block_number: int, n: str) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_NOTIFY`` function. diff --git a/src/tm_devices/commands/_d6b496_dmm/buffervar.py b/src/tm_devices/commands/_d6b496_dmm/buffervar.py index 752ed588..251d4528 100644 --- a/src/tm_devices/commands/_d6b496_dmm/buffervar.py +++ b/src/tm_devices/commands/_d6b496_dmm/buffervar.py @@ -560,7 +560,6 @@ def logstate(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.logstate`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name @property def n(self) -> str: """Access the ``bufferVar.n`` attribute. diff --git a/src/tm_devices/commands/_d6b496_dmm/trigger.py b/src/tm_devices/commands/_d6b496_dmm/trigger.py index 78211dcb..6b6a3cc3 100644 --- a/src/tm_devices/commands/_d6b496_dmm/trigger.py +++ b/src/tm_devices/commands/_d6b496_dmm/trigger.py @@ -2206,7 +2206,6 @@ def setblock_trigger_block_delay_constant(self, block_number: int, time: str) -> msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_delay_dynamic(self, block_number: int, n: int) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_DELAY_DYNAMIC`` function. @@ -2375,7 +2374,6 @@ def setblock_trigger_block_nop(self, block_number: int) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_notify(self, block_number: int, n: str) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_NOTIFY`` function. diff --git a/src/tm_devices/commands/_d83qe0_dmm/buffer.py b/src/tm_devices/commands/_d83qe0_dmm/buffer.py index b6957381..148ce9b9 100644 --- a/src/tm_devices/commands/_d83qe0_dmm/buffer.py +++ b/src/tm_devices/commands/_d83qe0_dmm/buffer.py @@ -149,7 +149,7 @@ class Buffer(BaseTSPCmd): COL_CSV_CHAN_COLS = "buffer.COL_CSV_CHAN_COLS" """str: Ignore other columns and use a special format with a column per channel.""" COL_CSV_EASY_GRAPH = "buffer.COL_CSV_EASY_GRAPH" - """str: Ignore other columns and use special format that is easy to graph in Microsoft Excel.""" # noqa: E501 + """str: Ignore other columns and use special format that is easy to graph in Microsoft Excel.""" COL_DISPLAY_DIGITS = "buffer.COL_DISPLAY_DIGITS" """str: Save display digits from the specified reading buffer.""" COL_EXTRA = "buffer.COL_EXTRA" diff --git a/src/tm_devices/commands/_d83qe0_dmm/buffervar.py b/src/tm_devices/commands/_d83qe0_dmm/buffervar.py index 09822b1c..2d0de9b8 100644 --- a/src/tm_devices/commands/_d83qe0_dmm/buffervar.py +++ b/src/tm_devices/commands/_d83qe0_dmm/buffervar.py @@ -596,7 +596,6 @@ def logstate(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.logstate`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name @property def n(self) -> str: """Access the ``bufferVar.n`` attribute. diff --git a/src/tm_devices/commands/_d83qe0_dmm/trigger.py b/src/tm_devices/commands/_d83qe0_dmm/trigger.py index 3164b638..52090b21 100644 --- a/src/tm_devices/commands/_d83qe0_dmm/trigger.py +++ b/src/tm_devices/commands/_d83qe0_dmm/trigger.py @@ -2140,7 +2140,6 @@ def setblock_trigger_block_delay_constant(self, block_number: int, time: str) -> msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_delay_dynamic(self, block_number: int, n: int) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_DELAY_DYNAMIC`` function. @@ -2309,7 +2308,6 @@ def setblock_trigger_block_nop(self, block_number: int) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.setblock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def setblock_trigger_block_notify(self, block_number: int, n: str) -> None: """Run the ``trigger.model.setblock() - trigger.BLOCK_NOTIFY`` function. diff --git a/src/tm_devices/commands/_daq6510_commands.py b/src/tm_devices/commands/_daq6510_commands.py index 865a50c7..fac0b22a 100644 --- a/src/tm_devices/commands/_daq6510_commands.py +++ b/src/tm_devices/commands/_daq6510_commands.py @@ -1241,7 +1241,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1643,7 +1642,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -1692,7 +1691,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -1713,7 +1712,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1735,7 +1734,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1759,7 +1758,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1793,7 +1792,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1820,7 +1819,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1845,7 +1844,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1870,7 +1869,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_dmm6500_commands.py b/src/tm_devices/commands/_dmm6500_commands.py index cb1dc229..f9c6a0e5 100644 --- a/src/tm_devices/commands/_dmm6500_commands.py +++ b/src/tm_devices/commands/_dmm6500_commands.py @@ -669,7 +669,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -963,7 +962,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -1012,7 +1011,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -1033,7 +1032,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1055,7 +1054,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1079,7 +1078,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1113,7 +1112,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1140,7 +1139,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1165,7 +1164,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1190,7 +1189,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_dmm7510_commands.py b/src/tm_devices/commands/_dmm7510_commands.py index 332783dd..2e7b4134 100644 --- a/src/tm_devices/commands/_dmm7510_commands.py +++ b/src/tm_devices/commands/_dmm7510_commands.py @@ -665,7 +665,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -923,7 +922,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -972,7 +971,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -993,7 +992,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1015,7 +1014,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1039,7 +1038,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1073,7 +1072,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1100,7 +1099,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1125,7 +1124,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1150,7 +1149,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_dpo2k_commands.py b/src/tm_devices/commands/_dpo2k_commands.py index e4572a81..047ef3c7 100644 --- a/src/tm_devices/commands/_dpo2k_commands.py +++ b/src/tm_devices/commands/_dpo2k_commands.py @@ -842,7 +842,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -997,7 +996,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1574,7 +1572,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo2kb_commands.py b/src/tm_devices/commands/_dpo2kb_commands.py index 7a3af4a8..4526e69d 100644 --- a/src/tm_devices/commands/_dpo2kb_commands.py +++ b/src/tm_devices/commands/_dpo2kb_commands.py @@ -842,7 +842,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -997,7 +996,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1574,7 +1572,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo4k_commands.py b/src/tm_devices/commands/_dpo4k_commands.py index 0684a22b..bb000a35 100644 --- a/src/tm_devices/commands/_dpo4k_commands.py +++ b/src/tm_devices/commands/_dpo4k_commands.py @@ -1120,7 +1120,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1306,7 +1305,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1963,7 +1961,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2626,7 +2623,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_dpo4kb_commands.py b/src/tm_devices/commands/_dpo4kb_commands.py index da922f1d..2224c1b2 100644 --- a/src/tm_devices/commands/_dpo4kb_commands.py +++ b/src/tm_devices/commands/_dpo4kb_commands.py @@ -1128,7 +1128,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1314,7 +1313,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1971,7 +1969,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2634,7 +2631,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_dpo5kb_commands.py b/src/tm_devices/commands/_dpo5kb_commands.py index dbff6bdc..16f35962 100644 --- a/src/tm_devices/commands/_dpo5kb_commands.py +++ b/src/tm_devices/commands/_dpo5kb_commands.py @@ -1319,7 +1319,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1454,7 +1453,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1628,7 +1626,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2444,7 +2441,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo70kc_commands.py b/src/tm_devices/commands/_dpo70kc_commands.py index b7f1793e..7e0483b0 100644 --- a/src/tm_devices/commands/_dpo70kc_commands.py +++ b/src/tm_devices/commands/_dpo70kc_commands.py @@ -1313,7 +1313,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1448,7 +1447,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1622,7 +1620,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2424,7 +2421,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo70kd_commands.py b/src/tm_devices/commands/_dpo70kd_commands.py index 606cb082..3d5cdf5b 100644 --- a/src/tm_devices/commands/_dpo70kd_commands.py +++ b/src/tm_devices/commands/_dpo70kd_commands.py @@ -1313,7 +1313,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1448,7 +1447,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1622,7 +1620,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2424,7 +2421,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo70kdx_commands.py b/src/tm_devices/commands/_dpo70kdx_commands.py index 8bcc3a1a..f902e8dd 100644 --- a/src/tm_devices/commands/_dpo70kdx_commands.py +++ b/src/tm_devices/commands/_dpo70kdx_commands.py @@ -1313,7 +1313,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1448,7 +1447,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1622,7 +1620,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2424,7 +2421,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo70ksx_commands.py b/src/tm_devices/commands/_dpo70ksx_commands.py index f18baf87..80a19a96 100644 --- a/src/tm_devices/commands/_dpo70ksx_commands.py +++ b/src/tm_devices/commands/_dpo70ksx_commands.py @@ -1324,7 +1324,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1518,7 +1517,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1692,7 +1690,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2492,7 +2489,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dpo7kc_commands.py b/src/tm_devices/commands/_dpo7kc_commands.py index 6aee5dd8..b8b73933 100644 --- a/src/tm_devices/commands/_dpo7kc_commands.py +++ b/src/tm_devices/commands/_dpo7kc_commands.py @@ -1314,7 +1314,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1449,7 +1448,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1623,7 +1621,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2425,7 +2422,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dsa70kc_commands.py b/src/tm_devices/commands/_dsa70kc_commands.py index 02a6c655..a8a2a0a4 100644 --- a/src/tm_devices/commands/_dsa70kc_commands.py +++ b/src/tm_devices/commands/_dsa70kc_commands.py @@ -1313,7 +1313,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1448,7 +1447,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1622,7 +1620,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2424,7 +2421,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_dsa70kd_commands.py b/src/tm_devices/commands/_dsa70kd_commands.py index 91c1fd49..4ce03f2a 100644 --- a/src/tm_devices/commands/_dsa70kd_commands.py +++ b/src/tm_devices/commands/_dsa70kd_commands.py @@ -1313,7 +1313,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1448,7 +1447,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1622,7 +1620,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2424,7 +2421,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_e3pief_ss/buffervar.py b/src/tm_devices/commands/_e3pief_ss/buffervar.py index 6c1c3e50..d0bb6f89 100644 --- a/src/tm_devices/commands/_e3pief_ss/buffervar.py +++ b/src/tm_devices/commands/_e3pief_ss/buffervar.py @@ -646,7 +646,6 @@ def fractionalseconds(self) -> Dict[int, Union[str, float]]: """ return self._fractionalseconds - # pylint: disable=invalid-name @property def n(self) -> str: """Access the ``bufferVar.n`` attribute. diff --git a/src/tm_devices/commands/_e3pief_ss/channel.py b/src/tm_devices/commands/_e3pief_ss/channel.py index cf16dc59..41c42c13 100644 --- a/src/tm_devices/commands/_e3pief_ss/channel.py +++ b/src/tm_devices/commands/_e3pief_ss/channel.py @@ -353,7 +353,6 @@ class ChannelCalibration(BaseTSPCmd): - ``.verifydate()``: The ``channel.calibration.verifydate()`` function. """ - # pylint: disable=invalid-name def adjustcount(self, x: str) -> str: """Run the ``channel.calibration.adjustcount()`` function. @@ -383,7 +382,6 @@ def adjustcount(self, x: str) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.adjustcount()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def adjustdate(self, x: str, date: Optional[str] = None) -> str: """Run the ``channel.calibration.adjustdate()`` function. @@ -529,7 +527,6 @@ def step(self, channel: str, step: str, value: Optional[str] = None) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.step()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def unlock(self, x: str, password: str) -> None: """Run the ``channel.calibration.unlock()`` function. @@ -558,7 +555,6 @@ def unlock(self, x: str, password: str) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.unlock()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def verifydate(self, x: str, date: Optional[str] = None) -> str: """Run the ``channel.calibration.verifydate()`` function. diff --git a/src/tm_devices/commands/_e3pief_ss/digio.py b/src/tm_devices/commands/_e3pief_ss/digio.py index 744f6880..75356f6d 100644 --- a/src/tm_devices/commands/_e3pief_ss/digio.py +++ b/src/tm_devices/commands/_e3pief_ss/digio.py @@ -561,7 +561,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``digio.readbit()`` function. @@ -617,7 +616,6 @@ def readport(self) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.readport()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``digio.writebit()`` function. diff --git a/src/tm_devices/commands/_e3pief_ss/dmm.py b/src/tm_devices/commands/_e3pief_ss/dmm.py index 6dc89c58..1314b279 100644 --- a/src/tm_devices/commands/_e3pief_ss/dmm.py +++ b/src/tm_devices/commands/_e3pief_ss/dmm.py @@ -1158,7 +1158,6 @@ def password(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.password`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def ac(self, step: str, value: Optional[str] = None) -> None: """Run the ``dmm.calibration.ac()`` function. @@ -1195,7 +1194,6 @@ def ac(self, step: str, value: Optional[str] = None) -> None: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.ac()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def dc(self, step: str, value: Optional[str] = None) -> None: """Run the ``dmm.calibration.dc()`` function. diff --git a/src/tm_devices/commands/_e3pief_ss/ptp.py b/src/tm_devices/commands/_e3pief_ss/ptp.py index 8af3ebaa..2b05c3cc 100644 --- a/src/tm_devices/commands/_e3pief_ss/ptp.py +++ b/src/tm_devices/commands/_e3pief_ss/ptp.py @@ -146,7 +146,6 @@ def domain(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.domain`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name @property def ds(self) -> PtpDs: """Return the ``ptp.ds`` command tree. diff --git a/src/tm_devices/commands/_e3pief_ss/tsplink.py b/src/tm_devices/commands/_e3pief_ss/tsplink.py index ba1b0163..b062660b 100644 --- a/src/tm_devices/commands/_e3pief_ss/tsplink.py +++ b/src/tm_devices/commands/_e3pief_ss/tsplink.py @@ -758,7 +758,6 @@ def writeprotect(self, value: Union[str, float]) -> None: msg = f"No TSPDevice object was provided, unable to access the ``{self._cmd_syntax}.writeprotect`` attribute." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def readbit(self, n: int) -> str: """Run the ``tsplink.readbit()`` function. @@ -844,7 +843,6 @@ def reset(self, expected_nodes: Optional[int] = None) -> str: msg = f"No TSPDevice object was provided, unable to run the ``{self._cmd_syntax}.reset()`` function." # noqa: E501 raise NoDeviceProvidedError(msg) from error - # pylint: disable=invalid-name def writebit(self, n: int, data: int) -> None: """Run the ``tsplink.writebit()`` function. diff --git a/src/tm_devices/commands/_efap3f_smuss/timer.py b/src/tm_devices/commands/_efap3f_smuss/timer.py index 9b1d8029..3c20af62 100644 --- a/src/tm_devices/commands/_efap3f_smuss/timer.py +++ b/src/tm_devices/commands/_efap3f_smuss/timer.py @@ -32,7 +32,6 @@ class TimerMeasure(BaseTSPCmd): - ``.t()``: The ``timer.measure.t()`` function. """ - # pylint: disable=invalid-name def t(self) -> str: """Run the ``timer.measure.t()`` function. diff --git a/src/tm_devices/commands/_lpd6_commands.py b/src/tm_devices/commands/_lpd6_commands.py index c9de4f89..72049039 100644 --- a/src/tm_devices/commands/_lpd6_commands.py +++ b/src/tm_devices/commands/_lpd6_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mdo3_commands.py b/src/tm_devices/commands/_mdo3_commands.py index ae44d22c..0092287f 100644 --- a/src/tm_devices/commands/_mdo3_commands.py +++ b/src/tm_devices/commands/_mdo3_commands.py @@ -1119,7 +1119,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1324,7 +1323,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1982,7 +1980,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2630,7 +2627,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mdo3k_commands.py b/src/tm_devices/commands/_mdo3k_commands.py index 8911b44e..4bda09be 100644 --- a/src/tm_devices/commands/_mdo3k_commands.py +++ b/src/tm_devices/commands/_mdo3k_commands.py @@ -1120,7 +1120,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1307,7 +1306,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1964,7 +1962,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2627,7 +2624,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mdo4k_commands.py b/src/tm_devices/commands/_mdo4k_commands.py index e9735f44..d52aaf3e 100644 --- a/src/tm_devices/commands/_mdo4k_commands.py +++ b/src/tm_devices/commands/_mdo4k_commands.py @@ -1128,7 +1128,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1314,7 +1313,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1971,7 +1969,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2634,7 +2631,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mdo4kb_commands.py b/src/tm_devices/commands/_mdo4kb_commands.py index e37bfb74..ced95116 100644 --- a/src/tm_devices/commands/_mdo4kb_commands.py +++ b/src/tm_devices/commands/_mdo4kb_commands.py @@ -1120,7 +1120,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1307,7 +1306,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1964,7 +1962,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2627,7 +2624,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mdo4kc_commands.py b/src/tm_devices/commands/_mdo4kc_commands.py index f33dd7ba..27dbfbee 100644 --- a/src/tm_devices/commands/_mdo4kc_commands.py +++ b/src/tm_devices/commands/_mdo4kc_commands.py @@ -1128,7 +1128,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1315,7 +1314,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1972,7 +1970,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2635,7 +2632,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mso2_commands.py b/src/tm_devices/commands/_mso2_commands.py index 44d9e01b..1b7f2030 100644 --- a/src/tm_devices/commands/_mso2_commands.py +++ b/src/tm_devices/commands/_mso2_commands.py @@ -1012,7 +1012,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1697,7 +1696,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2073,7 +2071,6 @@ def pause(self) -> Pause: """ return self._pause - # pylint: disable=invalid-name @property def pg(self) -> Pg: """Return the ``PG`` command tree. diff --git a/src/tm_devices/commands/_mso2k_commands.py b/src/tm_devices/commands/_mso2k_commands.py index ea4d3e25..6c2d679a 100644 --- a/src/tm_devices/commands/_mso2k_commands.py +++ b/src/tm_devices/commands/_mso2k_commands.py @@ -842,7 +842,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -997,7 +996,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1574,7 +1572,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_mso2kb_commands.py b/src/tm_devices/commands/_mso2kb_commands.py index 205c7d8d..602f1da5 100644 --- a/src/tm_devices/commands/_mso2kb_commands.py +++ b/src/tm_devices/commands/_mso2kb_commands.py @@ -842,7 +842,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -997,7 +996,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1574,7 +1572,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_mso4_commands.py b/src/tm_devices/commands/_mso4_commands.py index f09b4459..0d1339ee 100644 --- a/src/tm_devices/commands/_mso4_commands.py +++ b/src/tm_devices/commands/_mso4_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mso4k_commands.py b/src/tm_devices/commands/_mso4k_commands.py index 8038722a..e59599b3 100644 --- a/src/tm_devices/commands/_mso4k_commands.py +++ b/src/tm_devices/commands/_mso4k_commands.py @@ -1128,7 +1128,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1314,7 +1313,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1971,7 +1969,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2634,7 +2631,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mso4kb_commands.py b/src/tm_devices/commands/_mso4kb_commands.py index b8963d46..68a7d367 100644 --- a/src/tm_devices/commands/_mso4kb_commands.py +++ b/src/tm_devices/commands/_mso4kb_commands.py @@ -1128,7 +1128,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1315,7 +1314,6 @@ def curve(self) -> Curve: """ return self._curve - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command. @@ -1972,7 +1970,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -2635,7 +2632,6 @@ def rem(self) -> Rem: """ return self._rem - # pylint: disable=invalid-name @property def rf(self) -> Rf: """Return the ``RF`` command tree. diff --git a/src/tm_devices/commands/_mso5_commands.py b/src/tm_devices/commands/_mso5_commands.py index 7e9db844..b7232999 100644 --- a/src/tm_devices/commands/_mso5_commands.py +++ b/src/tm_devices/commands/_mso5_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mso5b_commands.py b/src/tm_devices/commands/_mso5b_commands.py index 550ecce1..76b38d02 100644 --- a/src/tm_devices/commands/_mso5b_commands.py +++ b/src/tm_devices/commands/_mso5b_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mso5kb_commands.py b/src/tm_devices/commands/_mso5kb_commands.py index 95897e8f..3b2cbba8 100644 --- a/src/tm_devices/commands/_mso5kb_commands.py +++ b/src/tm_devices/commands/_mso5kb_commands.py @@ -1321,7 +1321,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1456,7 +1455,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1630,7 +1628,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2446,7 +2443,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_mso5lp_commands.py b/src/tm_devices/commands/_mso5lp_commands.py index 6cfbd00a..f0955827 100644 --- a/src/tm_devices/commands/_mso5lp_commands.py +++ b/src/tm_devices/commands/_mso5lp_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mso6_commands.py b/src/tm_devices/commands/_mso6_commands.py index 56fe34fe..7cb8366e 100644 --- a/src/tm_devices/commands/_mso6_commands.py +++ b/src/tm_devices/commands/_mso6_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mso6b_commands.py b/src/tm_devices/commands/_mso6b_commands.py index 4fd0e6b0..fa3310ab 100644 --- a/src/tm_devices/commands/_mso6b_commands.py +++ b/src/tm_devices/commands/_mso6b_commands.py @@ -1792,7 +1792,6 @@ def callouts(self) -> Callouts: """ return self._callouts - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -2547,7 +2546,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. @@ -3378,7 +3376,6 @@ def stb(self) -> Stb: """ return self._stb - # pylint: disable=invalid-name @property def sv(self) -> Sv: """Return the ``SV`` command tree. diff --git a/src/tm_devices/commands/_mso70kc_commands.py b/src/tm_devices/commands/_mso70kc_commands.py index 48bb338f..8a28964b 100644 --- a/src/tm_devices/commands/_mso70kc_commands.py +++ b/src/tm_devices/commands/_mso70kc_commands.py @@ -1313,7 +1313,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1448,7 +1447,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1622,7 +1620,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2424,7 +2421,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_mso70kdx_commands.py b/src/tm_devices/commands/_mso70kdx_commands.py index 277056f4..1fb06b08 100644 --- a/src/tm_devices/commands/_mso70kdx_commands.py +++ b/src/tm_devices/commands/_mso70kdx_commands.py @@ -1315,7 +1315,6 @@ def calibrate(self) -> Calibrate: """ return self._calibrate - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, Channel]: """Return the ``CH`` command. @@ -1450,7 +1449,6 @@ def counter(self) -> Counter: """ return self._counter - # pylint: disable=invalid-name @property def cq(self) -> Dict[int, CqItem]: """Return the ``CQ`` command tree. @@ -1624,7 +1622,6 @@ def custom(self) -> Custom: """ return self._custom - # pylint: disable=invalid-name @property def d(self) -> Dict[int, DigitalBit]: """Return the ``D`` command tree. @@ -2426,7 +2423,6 @@ def horizontal(self) -> Horizontal: """ return self._horizontal - # pylint: disable=invalid-name @property def id(self) -> Id: """Return the ``ID`` command. diff --git a/src/tm_devices/commands/_smu2450_commands.py b/src/tm_devices/commands/_smu2450_commands.py index c72c25f4..dbc5a4cd 100644 --- a/src/tm_devices/commands/_smu2450_commands.py +++ b/src/tm_devices/commands/_smu2450_commands.py @@ -703,7 +703,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1114,7 +1113,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -1163,7 +1162,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -1184,7 +1183,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1206,7 +1205,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1230,7 +1229,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1264,7 +1263,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1291,7 +1290,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1316,7 +1315,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1341,7 +1340,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2460_commands.py b/src/tm_devices/commands/_smu2460_commands.py index 18b626f2..bae571bc 100644 --- a/src/tm_devices/commands/_smu2460_commands.py +++ b/src/tm_devices/commands/_smu2460_commands.py @@ -760,7 +760,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1171,7 +1170,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -1220,7 +1219,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -1241,7 +1240,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1263,7 +1262,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1287,7 +1286,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1321,7 +1320,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1348,7 +1347,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1373,7 +1372,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1398,7 +1397,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2461_commands.py b/src/tm_devices/commands/_smu2461_commands.py index 0ea28ef3..6e4ffd07 100644 --- a/src/tm_devices/commands/_smu2461_commands.py +++ b/src/tm_devices/commands/_smu2461_commands.py @@ -769,7 +769,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1179,7 +1178,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -1228,7 +1227,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -1249,7 +1248,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1271,7 +1270,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1295,7 +1294,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1329,7 +1328,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1356,7 +1355,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1381,7 +1380,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1406,7 +1405,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2470_commands.py b/src/tm_devices/commands/_smu2470_commands.py index 4ae73309..70307ace 100644 --- a/src/tm_devices/commands/_smu2470_commands.py +++ b/src/tm_devices/commands/_smu2470_commands.py @@ -703,7 +703,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1115,7 +1114,7 @@ def available(self, functionality: str) -> str: f"print(available({functionality}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``available()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``available()`` function." raise NoDeviceProvidedError(msg) from error def createconfigscript(self, script_name: str) -> None: @@ -1164,7 +1163,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -1185,7 +1184,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -1207,7 +1206,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -1231,7 +1230,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1265,7 +1264,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1292,7 +1291,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1317,7 +1316,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1342,7 +1341,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2601b_commands.py b/src/tm_devices/commands/_smu2601b_commands.py index f926ba5f..198f9a6d 100644 --- a/src/tm_devices/commands/_smu2601b_commands.py +++ b/src/tm_devices/commands/_smu2601b_commands.py @@ -899,7 +899,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -924,7 +923,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1031,7 +1029,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2250,7 +2247,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2271,7 +2268,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2295,7 +2292,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2328,7 +2325,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2361,7 +2358,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2499,7 +2496,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2529,7 +2526,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2554,7 +2551,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2576,7 +2573,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2600,7 +2597,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2633,7 +2630,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2660,7 +2657,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2685,7 +2682,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2714,7 +2711,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2738,7 +2735,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2781,7 +2778,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2806,7 +2803,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2602b_commands.py b/src/tm_devices/commands/_smu2602b_commands.py index 23e80076..52d7527d 100644 --- a/src/tm_devices/commands/_smu2602b_commands.py +++ b/src/tm_devices/commands/_smu2602b_commands.py @@ -984,7 +984,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1009,7 +1008,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1116,7 +1114,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2335,7 +2332,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2356,7 +2353,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2380,7 +2377,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2413,7 +2410,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2446,7 +2443,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2584,7 +2581,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2614,7 +2611,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2639,7 +2636,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2661,7 +2658,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2685,7 +2682,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2718,7 +2715,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2745,7 +2742,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2770,7 +2767,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2799,7 +2796,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2823,7 +2820,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2866,7 +2863,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2891,7 +2888,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2604b_commands.py b/src/tm_devices/commands/_smu2604b_commands.py index bd308b04..14f1288d 100644 --- a/src/tm_devices/commands/_smu2604b_commands.py +++ b/src/tm_devices/commands/_smu2604b_commands.py @@ -792,7 +792,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -817,7 +816,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -924,7 +922,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2117,7 +2114,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2138,7 +2135,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2162,7 +2159,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2195,7 +2192,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2228,7 +2225,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2366,7 +2363,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2396,7 +2393,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2421,7 +2418,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2443,7 +2440,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2467,7 +2464,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2500,7 +2497,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2527,7 +2524,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2552,7 +2549,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2581,7 +2578,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2605,7 +2602,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2648,7 +2645,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2673,7 +2670,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2606b_commands.py b/src/tm_devices/commands/_smu2606b_commands.py index b7157088..4428eb65 100644 --- a/src/tm_devices/commands/_smu2606b_commands.py +++ b/src/tm_devices/commands/_smu2606b_commands.py @@ -981,7 +981,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -997,7 +996,6 @@ def fs(self) -> Fs: """ return self._fs - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1104,7 +1102,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2302,7 +2299,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2323,7 +2320,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2347,7 +2344,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2380,7 +2377,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2413,7 +2410,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2551,7 +2548,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2581,7 +2578,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2606,7 +2603,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2628,7 +2625,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2652,7 +2649,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2685,7 +2682,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2712,7 +2709,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2737,7 +2734,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2766,7 +2763,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2790,7 +2787,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2833,7 +2830,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2858,7 +2855,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2611b_commands.py b/src/tm_devices/commands/_smu2611b_commands.py index a2e06334..9d772c9b 100644 --- a/src/tm_devices/commands/_smu2611b_commands.py +++ b/src/tm_devices/commands/_smu2611b_commands.py @@ -898,7 +898,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -923,7 +922,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1030,7 +1028,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2247,7 +2244,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2268,7 +2265,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2292,7 +2289,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2325,7 +2322,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2358,7 +2355,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2496,7 +2493,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2526,7 +2523,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2551,7 +2548,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2573,7 +2570,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2597,7 +2594,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2630,7 +2627,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2657,7 +2654,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2682,7 +2679,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2711,7 +2708,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2735,7 +2732,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2778,7 +2775,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2803,7 +2800,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2612b_commands.py b/src/tm_devices/commands/_smu2612b_commands.py index 0e6810b4..8b4db9e9 100644 --- a/src/tm_devices/commands/_smu2612b_commands.py +++ b/src/tm_devices/commands/_smu2612b_commands.py @@ -983,7 +983,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1008,7 +1007,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1115,7 +1113,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2332,7 +2329,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2353,7 +2350,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2377,7 +2374,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2410,7 +2407,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2443,7 +2440,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2581,7 +2578,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2611,7 +2608,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2636,7 +2633,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2658,7 +2655,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2682,7 +2679,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2715,7 +2712,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2742,7 +2739,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2767,7 +2764,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2796,7 +2793,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2820,7 +2817,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2863,7 +2860,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2888,7 +2885,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2614b_commands.py b/src/tm_devices/commands/_smu2614b_commands.py index 078eae54..769fdb92 100644 --- a/src/tm_devices/commands/_smu2614b_commands.py +++ b/src/tm_devices/commands/_smu2614b_commands.py @@ -791,7 +791,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -816,7 +815,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -923,7 +921,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2114,7 +2111,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2135,7 +2132,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2159,7 +2156,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2192,7 +2189,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2225,7 +2222,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2363,7 +2360,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2393,7 +2390,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2418,7 +2415,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2440,7 +2437,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2464,7 +2461,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2497,7 +2494,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2524,7 +2521,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2549,7 +2546,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2578,7 +2575,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2602,7 +2599,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2645,7 +2642,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2670,7 +2667,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2634b_commands.py b/src/tm_devices/commands/_smu2634b_commands.py index 6ab23334..f853e50c 100644 --- a/src/tm_devices/commands/_smu2634b_commands.py +++ b/src/tm_devices/commands/_smu2634b_commands.py @@ -792,7 +792,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -817,7 +816,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -924,7 +922,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2116,7 +2113,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2137,7 +2134,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2161,7 +2158,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2194,7 +2191,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2227,7 +2224,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2365,7 +2362,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2395,7 +2392,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2420,7 +2417,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2442,7 +2439,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2466,7 +2463,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2499,7 +2496,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2526,7 +2523,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2551,7 +2548,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2580,7 +2577,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2604,7 +2601,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2647,7 +2644,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2672,7 +2669,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2635b_commands.py b/src/tm_devices/commands/_smu2635b_commands.py index 2156aea9..1f84d98b 100644 --- a/src/tm_devices/commands/_smu2635b_commands.py +++ b/src/tm_devices/commands/_smu2635b_commands.py @@ -899,7 +899,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -924,7 +923,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1031,7 +1029,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2249,7 +2246,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2270,7 +2267,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2294,7 +2291,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2327,7 +2324,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2360,7 +2357,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2498,7 +2495,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2528,7 +2525,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2553,7 +2550,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2575,7 +2572,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2599,7 +2596,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2632,7 +2629,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2659,7 +2656,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2684,7 +2681,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2713,7 +2710,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2737,7 +2734,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2780,7 +2777,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2805,7 +2802,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2636b_commands.py b/src/tm_devices/commands/_smu2636b_commands.py index e07ab853..b094bfc2 100644 --- a/src/tm_devices/commands/_smu2636b_commands.py +++ b/src/tm_devices/commands/_smu2636b_commands.py @@ -984,7 +984,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -1009,7 +1008,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1116,7 +1114,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2334,7 +2331,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2355,7 +2352,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2379,7 +2376,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2412,7 +2409,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2445,7 +2442,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def i_leakage_measure( @@ -2583,7 +2580,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2613,7 +2610,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2638,7 +2635,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2660,7 +2657,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2684,7 +2681,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2717,7 +2714,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2744,7 +2741,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2769,7 +2766,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2798,7 +2795,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2822,7 +2819,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2865,7 +2862,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2890,7 +2887,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2651a_commands.py b/src/tm_devices/commands/_smu2651a_commands.py index 909bb751..a2ffd7ab 100644 --- a/src/tm_devices/commands/_smu2651a_commands.py +++ b/src/tm_devices/commands/_smu2651a_commands.py @@ -965,7 +965,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -990,7 +989,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1097,7 +1095,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2084,7 +2081,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2105,7 +2102,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2129,7 +2126,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2162,7 +2159,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2195,7 +2192,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def makegetter(self, table: str, attribute_name: str) -> str: @@ -2225,7 +2222,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2255,7 +2252,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2280,7 +2277,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2302,7 +2299,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2326,7 +2323,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2359,7 +2356,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2386,7 +2383,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2411,7 +2408,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2440,7 +2437,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2464,7 +2461,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2507,7 +2504,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2532,7 +2529,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_smu2657a_commands.py b/src/tm_devices/commands/_smu2657a_commands.py index 82cfb389..757d95a2 100644 --- a/src/tm_devices/commands/_smu2657a_commands.py +++ b/src/tm_devices/commands/_smu2657a_commands.py @@ -965,7 +965,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -990,7 +989,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -1096,7 +1094,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -2083,7 +2080,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -2104,7 +2101,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -2128,7 +2125,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: @@ -2161,7 +2158,7 @@ def gm_isweep(self, smu: str, start_i: str, stop_i: str, points: str) -> str: f"print(gm_isweep({smu}, {start_i}, {stop_i}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_isweep()`` function." raise NoDeviceProvidedError(msg) from error def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: @@ -2194,7 +2191,7 @@ def gm_vsweep(self, smu: str, start_v: str, stop_v: str, points: str) -> str: f"print(gm_vsweep({smu}, {start_v}, {stop_v}, {points}))" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gm_vsweep()`` function." raise NoDeviceProvidedError(msg) from error def makegetter(self, table: str, attribute_name: str) -> str: @@ -2224,7 +2221,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -2254,7 +2251,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def meminfo(self) -> str: @@ -2279,7 +2276,7 @@ def meminfo(self) -> str: try: return self._device.query("print(meminfo())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``meminfo()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -2301,7 +2298,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -2325,7 +2322,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -2358,7 +2355,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -2385,7 +2382,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -2410,7 +2407,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: @@ -2439,7 +2436,7 @@ def savebuffer(self, buffer: str, format_type: str, file_name: str) -> None: f'savebuffer({buffer}, "{format_type}", "{file_name}")' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``savebuffer()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -2463,7 +2460,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -2506,7 +2503,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -2531,7 +2528,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_ss3706a_commands.py b/src/tm_devices/commands/_ss3706a_commands.py index 6a02f9b7..48a059a1 100644 --- a/src/tm_devices/commands/_ss3706a_commands.py +++ b/src/tm_devices/commands/_ss3706a_commands.py @@ -432,7 +432,6 @@ def format(self) -> Format: """ return self._format - # pylint: disable=invalid-name @property def fs(self) -> Fs: """Return the ``fs`` command tree. @@ -457,7 +456,6 @@ def gpib(self) -> Gpib: """ return self._gpib - # pylint: disable=invalid-name @property def io(self) -> Io: """Return the ``io`` command tree. @@ -535,7 +533,6 @@ def node(self) -> Dict[int, NodeItem]: """ return self._node - # pylint: disable=invalid-name @property def os(self) -> Os: """Return the ``os`` command tree. @@ -819,7 +816,7 @@ def delay(self, seconds: int) -> None: try: self._device.write(f"delay({seconds})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``delay()`` function." raise NoDeviceProvidedError(msg) from error def exit(self) -> None: @@ -840,7 +837,7 @@ def exit(self) -> None: try: self._device.write("exit()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``exit()`` function." raise NoDeviceProvidedError(msg) from error def gettimezone(self) -> str: @@ -864,7 +861,7 @@ def gettimezone(self) -> str: try: return self._device.query("print(gettimezone())") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``gettimezone()`` function." raise NoDeviceProvidedError(msg) from error def makegetter(self, table: str, attribute_name: str) -> str: @@ -894,7 +891,7 @@ def makegetter(self, table: str, attribute_name: str) -> str: f'print(makegetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makegetter()`` function." raise NoDeviceProvidedError(msg) from error def makesetter(self, table: str, attribute_name: str) -> str: @@ -924,7 +921,7 @@ def makesetter(self, table: str, attribute_name: str) -> str: f'print(makesetter({table}, "{attribute_name}"))' ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``makesetter()`` function." raise NoDeviceProvidedError(msg) from error def opc(self) -> None: @@ -946,7 +943,7 @@ def opc(self) -> None: try: self._device.write("opc()") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``opc()`` function." raise NoDeviceProvidedError(msg) from error def print(self, value: str) -> None: @@ -970,7 +967,7 @@ def print(self, value: str) -> None: try: self._device.write(f"print({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``print()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``print()`` function." raise NoDeviceProvidedError(msg) from error def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: @@ -1004,7 +1001,7 @@ def printbuffer(self, start_index: int, end_index: int, buffer_var: str) -> str: f"printbuffer({start_index}, {end_index}, {buffer_var})" ) except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printbuffer()`` function." raise NoDeviceProvidedError(msg) from error def printnumber(self, value: str) -> str: @@ -1031,7 +1028,7 @@ def printnumber(self, value: str) -> str: try: return self._device.query(f"printnumber({value})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``printnumber()`` function." raise NoDeviceProvidedError(msg) from error def reset(self, system: Optional[str] = None) -> None: @@ -1056,7 +1053,7 @@ def reset(self, system: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (system,) if x is not None) self._device.write(f"reset({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``reset()`` function." raise NoDeviceProvidedError(msg) from error def settime(self, time: str) -> None: @@ -1080,7 +1077,7 @@ def settime(self, time: str) -> None: try: self._device.write(f"settime({time})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settime()`` function." raise NoDeviceProvidedError(msg) from error def settimezone( @@ -1123,7 +1120,7 @@ def settimezone( ) self._device.write(f"settimezone({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``settimezone()`` function." raise NoDeviceProvidedError(msg) from error def waitcomplete(self, group: Optional[str] = None) -> None: @@ -1148,7 +1145,7 @@ def waitcomplete(self, group: Optional[str] = None) -> None: function_args = ", ".join(str(x) for x in (group,) if x is not None) self._device.write(f"waitcomplete({function_args})") # type: ignore[union-attr] except AttributeError as error: - msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." # noqa: E501 + msg = "No TSPDevice object was provided, unable to run the ``waitcomplete()`` function." raise NoDeviceProvidedError(msg) from error diff --git a/src/tm_devices/commands/_u301s_msodpo/auxin.py b/src/tm_devices/commands/_u301s_msodpo/auxin.py index bdf1d83a..88d10c29 100644 --- a/src/tm_devices/commands/_u301s_msodpo/auxin.py +++ b/src/tm_devices/commands/_u301s_msodpo/auxin.py @@ -539,7 +539,6 @@ def gain(self) -> AuxinProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> AuxinProbeId: """Return the ``AUXin:PRObe:ID`` command tree. diff --git a/src/tm_devices/commands/_u301s_msodpo/bus.py b/src/tm_devices/commands/_u301s_msodpo/bus.py index 2c6eb1af..8ed970b8 100644 --- a/src/tm_devices/commands/_u301s_msodpo/bus.py +++ b/src/tm_devices/commands/_u301s_msodpo/bus.py @@ -199,7 +199,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: BusUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusUpperthresholdChannel]: """Return the ``BUS:UPPerthreshold:CH`` command. @@ -307,7 +306,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: BusThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusThresholdChannel]: """Return the ``BUS:THReshold:CH`` command. @@ -337,7 +335,6 @@ def ch(self) -> Dict[int, BusThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, BusThresholdDigitalBit]: """Return the ``BUS:THReshold:D`` command. @@ -414,7 +411,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: BusLowerthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, BusLowerthresholdChannel]: """Return the ``BUS:LOWerthreshold:CH`` command. @@ -1921,7 +1917,6 @@ def select(self) -> BusBItemSpiSelect: """ return self._select - # pylint: disable=invalid-name @property def ss(self) -> BusBItemSpiSs: """Return the ``BUS:B:SPI:SS`` command tree. @@ -2452,7 +2447,6 @@ def polarity(self) -> BusBItemRs232cPolarity: """ return self._polarity - # pylint: disable=invalid-name @property def rx(self) -> BusBItemRs232cRx: """Return the ``BUS:B:RS232C:RX`` command tree. @@ -2467,7 +2461,6 @@ def rx(self) -> BusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> BusBItemRs232cTx: """Return the ``BUS:B:RS232C:TX`` command tree. @@ -4660,7 +4653,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "BUS") self._threshold = BusThreshold(device, f"{self._cmd_syntax}:THReshold") self._upperthreshold = BusUpperthreshold(device, f"{self._cmd_syntax}:UPPerthreshold") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, BusBItem]: """Return the ``BUS:B`` command tree. diff --git a/src/tm_devices/commands/_u301s_msodpo/ch.py b/src/tm_devices/commands/_u301s_msodpo/ch.py index 76855f60..f52727b3 100644 --- a/src/tm_devices/commands/_u301s_msodpo/ch.py +++ b/src/tm_devices/commands/_u301s_msodpo/ch.py @@ -714,7 +714,6 @@ def gain(self) -> ChannelProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> ChannelProbeId: """Return the ``CH:PRObe:ID`` command. diff --git a/src/tm_devices/commands/_u301s_msodpo/cursor.py b/src/tm_devices/commands/_u301s_msodpo/cursor.py index a74b2796..7341108d 100644 --- a/src/tm_devices/commands/_u301s_msodpo/cursor.py +++ b/src/tm_devices/commands/_u301s_msodpo/cursor.py @@ -401,7 +401,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._x = CursorXyRectangularX(device, f"{self._cmd_syntax}:X") self._y = CursorXyRectangularY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def x(self) -> CursorXyRectangularX: """Return the ``CURSor:XY:RECTangular:X`` command tree. @@ -418,7 +417,6 @@ def x(self) -> CursorXyRectangularX: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> CursorXyRectangularY: """Return the ``CURSor:XY:RECTangular:Y`` command tree. @@ -2037,7 +2035,6 @@ def vbars(self) -> CursorVbars: """ return self._vbars - # pylint: disable=invalid-name @property def xy(self) -> CursorXy: """Return the ``CURSor:XY`` command tree. diff --git a/src/tm_devices/commands/_u301s_msodpo/diag.py b/src/tm_devices/commands/_u301s_msodpo/diag.py index 438348c4..538e3eda 100644 --- a/src/tm_devices/commands/_u301s_msodpo/diag.py +++ b/src/tm_devices/commands/_u301s_msodpo/diag.py @@ -349,7 +349,6 @@ def fpanel(self) -> DiagSelectFpanel: """ return self._fpanel - # pylint: disable=invalid-name @property def io(self) -> DiagSelectIo: """Return the ``DIAg:SELect:IO`` command. diff --git a/src/tm_devices/commands/_u301s_msodpo/gpibusb.py b/src/tm_devices/commands/_u301s_msodpo/gpibusb.py index ea61593b..2e285dd8 100644 --- a/src/tm_devices/commands/_u301s_msodpo/gpibusb.py +++ b/src/tm_devices/commands/_u301s_msodpo/gpibusb.py @@ -57,7 +57,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "GPIBU super().__init__(device, cmd_syntax) self._id = GpibusbId(device, f"{self._cmd_syntax}:ID") - # pylint: disable=invalid-name @property def id(self) -> GpibusbId: """Return the ``GPIBUsb:ID`` command. diff --git a/src/tm_devices/commands/_u301s_msodpo/search.py b/src/tm_devices/commands/_u301s_msodpo/search.py index 76508efd..cc843677 100644 --- a/src/tm_devices/commands/_u301s_msodpo/search.py +++ b/src/tm_devices/commands/_u301s_msodpo/search.py @@ -390,7 +390,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -967,7 +966,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:MATH1" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerASetholdThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:SETHold:THReshold:CH`` command. @@ -2646,7 +2644,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -2870,7 +2867,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -3312,7 +3308,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -3345,7 +3340,6 @@ def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:D`` command. @@ -3849,7 +3843,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -3899,7 +3892,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -4269,7 +4261,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTriggerALevelRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -5554,7 +5545,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -5571,7 +5561,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -9371,7 +9360,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -9758,7 +9746,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. diff --git a/src/tm_devices/commands/_u301s_msodpo/select.py b/src/tm_devices/commands/_u301s_msodpo/select.py index 7b5e7ba9..263dcac9 100644 --- a/src/tm_devices/commands/_u301s_msodpo/select.py +++ b/src/tm_devices/commands/_u301s_msodpo/select.py @@ -283,7 +283,6 @@ def bus(self) -> Dict[int, SelectBusItem]: """ return self._bus - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SelectChannel]: """Return the ``SELect:CH`` command. @@ -348,7 +347,6 @@ def control(self) -> SelectControl: """ return self._control - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SelectDigitalBit]: """Return the ``SELect:D`` command. diff --git a/src/tm_devices/commands/_u301s_msodpo/trigger.py b/src/tm_devices/commands/_u301s_msodpo/trigger.py index a21218fe..c0e4dd15 100644 --- a/src/tm_devices/commands/_u301s_msodpo/trigger.py +++ b/src/tm_devices/commands/_u301s_msodpo/trigger.py @@ -517,7 +517,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLowerthresholdDigitalBit]: """Return the ``TRIGger:B:LOWerthreshold:D`` command. @@ -595,7 +594,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLevelDigitalBit]: """Return the ``TRIGger:B:LEVel:D`` command. @@ -1627,7 +1625,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -2042,7 +2039,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """Return the ``TRIGger:A:SETHold:THReshold:CH`` command. @@ -2074,7 +2070,6 @@ def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdThresholdDigitalBit]: """Return the ``TRIGger:A:SETHold:THReshold:D`` command. @@ -3692,7 +3687,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._ext = TriggerALowerthresholdExt(device, f"{self._cmd_syntax}:EXT") self._aux = TriggerALowerthresholdAux(device, f"{self._cmd_syntax}:AUX") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -3860,7 +3854,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -3891,7 +3884,6 @@ def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """Return the ``TRIGger:A:LOGIc:THReshold:D`` command. @@ -4128,7 +4120,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicPatternInputDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicPatternInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:PATtern:INPut:D`` command. @@ -4542,7 +4533,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicInputDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -4586,7 +4576,6 @@ def clock(self) -> TriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:INPut:D`` command. @@ -5029,7 +5018,6 @@ def auxin(self) -> TriggerALevelAuxin: """ return self._auxin - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -5059,7 +5047,6 @@ def ch(self) -> Dict[int, TriggerALevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALevelDigitalBit]: """Return the ``TRIGger:A:LEVel:D`` command. @@ -6403,7 +6390,6 @@ def condition(self) -> TriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> TriggerABusBItemRs232cRx: """Return the ``TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -6418,7 +6404,6 @@ def rx(self) -> TriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> TriggerABusBItemRs232cTx: """Return the ``TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -10006,7 +9991,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -10594,7 +10578,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._frequency = TriggerFrequency(device, f"{self._cmd_syntax}:FREQuency") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -10643,7 +10626,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command tree. diff --git a/src/tm_devices/commands/_ujuvb_mdo/configuration.py b/src/tm_devices/commands/_ujuvb_mdo/configuration.py index 83311ce8..3ee735e5 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/configuration.py +++ b/src/tm_devices/commands/_ujuvb_mdo/configuration.py @@ -631,7 +631,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._hs = ConfigurationBuswaveformsUsbHs(device, f"{self._cmd_syntax}:HS") - # pylint: disable=invalid-name @property def hs(self) -> ConfigurationBuswaveformsUsbHs: """Return the ``CONFIGuration:BUSWAVEFORMS:USB:HS`` command. @@ -2224,7 +2223,6 @@ def refs(self) -> ConfigurationRefs: """ return self._refs - # pylint: disable=invalid-name @property def rf(self) -> ConfigurationRf: """Return the ``CONFIGuration:RF`` command tree. diff --git a/src/tm_devices/commands/_ujuvb_mdo/cursor.py b/src/tm_devices/commands/_ujuvb_mdo/cursor.py index bcd238f7..2507f707 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/cursor.py +++ b/src/tm_devices/commands/_ujuvb_mdo/cursor.py @@ -405,7 +405,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._x = CursorXyRectangularX(device, f"{self._cmd_syntax}:X") self._y = CursorXyRectangularY(device, f"{self._cmd_syntax}:Y") - # pylint: disable=invalid-name @property def x(self) -> CursorXyRectangularX: """Return the ``CURSor:XY:RECTangular:X`` command tree. @@ -422,7 +421,6 @@ def x(self) -> CursorXyRectangularX: """ return self._x - # pylint: disable=invalid-name @property def y(self) -> CursorXyRectangularY: """Return the ``CURSor:XY:RECTangular:Y`` command tree. @@ -2156,7 +2154,6 @@ def vbars(self) -> CursorVbars: """ return self._vbars - # pylint: disable=invalid-name @property def xy(self) -> CursorXy: """Return the ``CURSor:XY`` command tree. diff --git a/src/tm_devices/commands/_ujuvb_mdo/display.py b/src/tm_devices/commands/_ujuvb_mdo/display.py index dc0ad025..96ec4281 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/display.py +++ b/src/tm_devices/commands/_ujuvb_mdo/display.py @@ -1204,7 +1204,6 @@ def trigfrequency(self) -> DisplayTrigfrequency: """ return self._trigfrequency - # pylint: disable=invalid-name @property def xy(self) -> DisplayXy: """Return the ``DISplay:XY`` command. diff --git a/src/tm_devices/commands/_ujuvb_mdo/rf.py b/src/tm_devices/commands/_ujuvb_mdo/rf.py index ac56ada9..133fb052 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/rf.py +++ b/src/tm_devices/commands/_ujuvb_mdo/rf.py @@ -2024,7 +2024,6 @@ def gain(self) -> RfProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> RfProbeId: """Return the ``RF:PRObe:ID`` command tree. @@ -3167,7 +3166,6 @@ def acpr(self) -> RfMeasureAcpr: """ return self._acpr - # pylint: disable=invalid-name @property def cp(self) -> RfMeasureCp: """Return the ``RF:MEASUre:CP`` command tree. diff --git a/src/tm_devices/commands/_ujuvb_mdo/search.py b/src/tm_devices/commands/_ujuvb_mdo/search.py index 8ddd0a83..df96d6f8 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/search.py +++ b/src/tm_devices/commands/_ujuvb_mdo/search.py @@ -524,7 +524,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3093,7 +3092,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3310,7 +3308,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -3633,7 +3630,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4075,7 +4071,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4125,7 +4120,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -4482,7 +4476,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTriggerALevelRefItem(device, f"{self._cmd_syntax}:REF{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -5254,7 +5247,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -5303,7 +5295,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -5320,7 +5311,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -7495,7 +7485,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -7512,7 +7501,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -8360,7 +8348,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -8465,7 +8452,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -13750,7 +13736,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -15407,7 +15392,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -15813,7 +15797,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. diff --git a/src/tm_devices/commands/_ujuvb_mdo/select.py b/src/tm_devices/commands/_ujuvb_mdo/select.py index ec343503..368fb277 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/select.py +++ b/src/tm_devices/commands/_ujuvb_mdo/select.py @@ -472,7 +472,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SELec self._math = SelectMath(device, f"{self._cmd_syntax}:MATH") self._math1 = SelectMath1(device, f"{self._cmd_syntax}:MATH1") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SelectChannel]: """Return the ``SELect:CH`` command. @@ -545,7 +544,6 @@ def control(self) -> SelectControl: """ # noqa: E501 return self._control - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SelectDigitalBit]: """Return the ``SELect:D`` command. @@ -762,7 +760,6 @@ def bus(self) -> Dict[int, SelectBusItem]: """ return self._bus - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SelectBItem]: """Return the ``SELect:B`` command. diff --git a/src/tm_devices/commands/_ujuvb_mdo/trigger.py b/src/tm_devices/commands/_ujuvb_mdo/trigger.py index 25508feb..d7bc72a3 100644 --- a/src/tm_devices/commands/_ujuvb_mdo/trigger.py +++ b/src/tm_devices/commands/_ujuvb_mdo/trigger.py @@ -773,7 +773,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -805,7 +804,6 @@ def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLowerthresholdDigitalBit]: """Return the ``TRIGger:B:LOWerthreshold:D`` command. @@ -930,7 +928,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -961,7 +958,6 @@ def ch(self) -> Dict[int, TriggerBLevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLevelDigitalBit]: """Return the ``TRIGger:B:LEVel:D`` command. @@ -1343,7 +1339,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._time = TriggerBTime(device, f"{self._cmd_syntax}:TIMe") self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -2015,7 +2010,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerAUpperthresholdChannel(device, f"{self._cmd_syntax}:CH{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -2642,7 +2636,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """Return the ``TRIGger:A:SETHold:THReshold:CH`` command. @@ -2674,7 +2667,6 @@ def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdThresholdDigitalBit]: """Return the ``TRIGger:A:SETHold:THReshold:D`` command. @@ -4484,7 +4476,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._aux = TriggerALowerthresholdAux(device, f"{self._cmd_syntax}:AUX") self._ext = TriggerALowerthresholdExt(device, f"{self._cmd_syntax}:EXT") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -4515,7 +4506,6 @@ def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """Return the ``TRIGger:A:LOWerthreshold:D`` command. @@ -4683,7 +4673,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerALogicThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -4714,7 +4703,6 @@ def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """Return the ``TRIGger:A:LOGIc:THReshold:D`` command. @@ -5171,7 +5159,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicInputRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -5215,7 +5202,6 @@ def clock(self) -> TriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:INPut:D`` command. @@ -5245,7 +5231,6 @@ def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicInputRf: """Return the ``TRIGger:A:LOGIc:INPut:RF`` command. @@ -5680,7 +5665,6 @@ def auxin(self) -> TriggerALevelAuxin: """ return self._auxin - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -5712,7 +5696,6 @@ def ch(self) -> Dict[int, TriggerALevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALevelDigitalBit]: """Return the ``TRIGger:A:LEVel:D`` command. @@ -6449,7 +6432,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusBItemUsbSplitEt: """Return the ``TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -6481,7 +6463,6 @@ def port(self) -> TriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusBItemUsbSplitSc: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -6497,7 +6478,6 @@ def sc(self) -> TriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusBItemUsbSplitSe: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -8527,7 +8507,6 @@ def condition(self) -> TriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> TriggerABusBItemRs232cRx: """Return the ``TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -8542,7 +8521,6 @@ def rx(self) -> TriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> TriggerABusBItemRs232cTx: """Return the ``TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -9357,7 +9335,6 @@ def instr(self) -> TriggerABusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusBItemMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -9469,7 +9446,6 @@ def subsf(self) -> TriggerABusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusBItemMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -14400,7 +14376,6 @@ def data(self) -> TriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -15941,7 +15916,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -16075,7 +16049,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._rf = TriggerABandwidthRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def rf(self) -> TriggerABandwidthRf: """Return the ``TRIGger:A:BANDWidth:RF`` command tree. @@ -16629,7 +16602,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._frequency = TriggerFrequency(device, f"{self._cmd_syntax}:FREQuency") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -16680,7 +16652,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. diff --git a/src/tm_devices/commands/_usaa3_mdo/rf.py b/src/tm_devices/commands/_usaa3_mdo/rf.py index 51c1d4b9..03e76e0f 100644 --- a/src/tm_devices/commands/_usaa3_mdo/rf.py +++ b/src/tm_devices/commands/_usaa3_mdo/rf.py @@ -2320,7 +2320,6 @@ def gain(self) -> RfProbeGain: """ return self._gain - # pylint: disable=invalid-name @property def id(self) -> RfProbeId: """Return the ``RF:PRObe:ID`` command tree. @@ -3463,7 +3462,6 @@ def acpr(self) -> RfMeasureAcpr: """ return self._acpr - # pylint: disable=invalid-name @property def cp(self) -> RfMeasureCp: """Return the ``RF:MEASUre:CP`` command tree. diff --git a/src/tm_devices/commands/_usaa3_mdo/search.py b/src/tm_devices/commands/_usaa3_mdo/search.py index 37421954..537c5a33 100644 --- a/src/tm_devices/commands/_usaa3_mdo/search.py +++ b/src/tm_devices/commands/_usaa3_mdo/search.py @@ -534,7 +534,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerAUpperthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:UPPerthreshold:CH`` command. @@ -3182,7 +3181,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALowerthresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOWerthreshold:CH`` command. @@ -3465,7 +3463,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicThresholdChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:THReshold:CH`` command. @@ -3788,7 +3785,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicPatternInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:PATtern:INPut:CH`` command. @@ -4230,7 +4226,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALogicInputChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:CH`` command. @@ -4280,7 +4275,6 @@ def clock(self) -> SearchSearchItemTriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, SearchSearchItemTriggerALogicInputDigitalBit]: """Return the ``SEARCH:SEARCH:TRIGger:A:LOGIc:INPut:D`` command. @@ -4742,7 +4736,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: device, f"{self._cmd_syntax}:RF_PHASe" ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, SearchSearchItemTriggerALevelChannel]: """Return the ``SEARCH:SEARCH:TRIGger:A:LEVel:CH`` command. @@ -5610,7 +5603,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = SearchSearchItemTriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = SearchSearchItemTriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> SearchSearchItemTriggerABusBItemUsbSplitEt: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -5659,7 +5651,6 @@ def port(self) -> SearchSearchItemTriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -5676,7 +5667,6 @@ def sc(self) -> SearchSearchItemTriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> SearchSearchItemTriggerABusBItemUsbSplitSe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -7851,7 +7841,6 @@ def condition(self) -> SearchSearchItemTriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -7868,7 +7857,6 @@ def rx(self) -> SearchSearchItemTriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> SearchSearchItemTriggerABusBItemRs232cTx: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -8716,7 +8704,6 @@ def instr(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitInstr: """ # noqa: E501 return self._instr - # pylint: disable=invalid-name @property def me(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitMe: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -8821,7 +8808,6 @@ def subsf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitSubsf: """ # noqa: E501 return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> SearchSearchItemTriggerABusBItemMil1553bStatusBitTf: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -14025,7 +14011,6 @@ def data(self) -> SearchSearchItemTriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> SearchSearchItemTriggerABusBItemCanFd: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -15682,7 +15667,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = SearchSearchItemTriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTriggerABusBItem]: """Return the ``SEARCH:SEARCH:TRIGger:A:BUS:B`` command tree. @@ -16094,7 +16078,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTriggerA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTriggerA: """Return the ``SEARCH:SEARCH:TRIGger:A`` command tree. @@ -16345,7 +16328,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: SearchSearchItemTrigABusBItem(device, f"{self._cmd_syntax}:B{x}") ) - # pylint: disable=invalid-name @property def b(self) -> Dict[int, SearchSearchItemTrigABusBItem]: """Return the ``SEARCH:SEARCH:TRIG:A:BUS:B`` command tree. @@ -16410,7 +16392,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._a = SearchSearchItemTrigA(device, f"{self._cmd_syntax}:A") - # pylint: disable=invalid-name @property def a(self) -> SearchSearchItemTrigA: """Return the ``SEARCH:SEARCH:TRIG:A`` command tree. diff --git a/src/tm_devices/commands/_usaa3_mdo/trigger.py b/src/tm_devices/commands/_usaa3_mdo/trigger.py index b044125a..02b7e34a 100644 --- a/src/tm_devices/commands/_usaa3_mdo/trigger.py +++ b/src/tm_devices/commands/_usaa3_mdo/trigger.py @@ -795,7 +795,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLowerthresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """Return the ``TRIGger:B:LOWerthreshold:CH`` command. @@ -827,7 +826,6 @@ def ch(self) -> Dict[int, TriggerBLowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLowerthresholdDigitalBit]: """Return the ``TRIGger:B:LOWerthreshold:D`` command. @@ -952,7 +950,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerBLevelDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerBLevelChannel]: """Return the ``TRIGger:B:LEVel:CH`` command. @@ -983,7 +980,6 @@ def ch(self) -> Dict[int, TriggerBLevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerBLevelDigitalBit]: """Return the ``TRIGger:B:LEVel:D`` command. @@ -1365,7 +1361,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._time = TriggerBTime(device, f"{self._cmd_syntax}:TIMe") self._type = TriggerBType(device, f"{self._cmd_syntax}:TYPe") - # pylint: disable=invalid-name @property def by(self) -> TriggerBBy: """Return the ``TRIGger:B:BY`` command. @@ -2466,7 +2461,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerAUpperthresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """Return the ``TRIGger:A:UPPerthreshold:CH`` command. @@ -2497,7 +2491,6 @@ def ch(self) -> Dict[int, TriggerAUpperthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def rf(self) -> TriggerAUpperthresholdRf: """Return the ``TRIGger:A:UPPerthreshold:RF`` command. @@ -3127,7 +3120,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: lambda x: TriggerASetholdThresholdDigitalBit(device, f"{self._cmd_syntax}:D{x}") ) - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """Return the ``TRIGger:A:SETHold:THReshold:CH`` command. @@ -3159,7 +3151,6 @@ def ch(self) -> Dict[int, TriggerASetholdThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerASetholdThresholdDigitalBit]: """Return the ``TRIGger:A:SETHold:THReshold:D`` command. @@ -5012,7 +5003,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._aux = TriggerALowerthresholdAux(device, f"{self._cmd_syntax}:AUX") self._ext = TriggerALowerthresholdExt(device, f"{self._cmd_syntax}:EXT") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """Return the ``TRIGger:A:LOWerthreshold:CH`` command. @@ -5043,7 +5033,6 @@ def ch(self) -> Dict[int, TriggerALowerthresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """Return the ``TRIGger:A:LOWerthreshold:D`` command. @@ -5074,7 +5063,6 @@ def d(self) -> Dict[int, TriggerALowerthresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALowerthresholdRf: """Return the ``TRIGger:A:LOWerthreshold:RF`` command. @@ -5274,7 +5262,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicThresholdRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """Return the ``TRIGger:A:LOGIc:THReshold:CH`` command. @@ -5305,7 +5292,6 @@ def ch(self) -> Dict[int, TriggerALogicThresholdChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """Return the ``TRIGger:A:LOGIc:THReshold:D`` command. @@ -5335,7 +5321,6 @@ def d(self) -> Dict[int, TriggerALogicThresholdDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicThresholdRf: """Return the ``TRIGger:A:LOGIc:THReshold:RF`` command. @@ -5792,7 +5777,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._rf = TriggerALogicInputRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALogicInputChannel]: """Return the ``TRIGger:A:LOGIc:INPut:CH`` command. @@ -5836,7 +5820,6 @@ def clock(self) -> TriggerALogicInputClock: """ return self._clock - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """Return the ``TRIGger:A:LOGIc:INPut:D`` command. @@ -5866,7 +5849,6 @@ def d(self) -> Dict[int, TriggerALogicInputDigitalBit]: """ return self._d - # pylint: disable=invalid-name @property def rf(self) -> TriggerALogicInputRf: """Return the ``TRIGger:A:LOGIc:INPut:RF`` command. @@ -6302,7 +6284,6 @@ def auxin(self) -> TriggerALevelAuxin: """ return self._auxin - # pylint: disable=invalid-name @property def ch(self) -> Dict[int, TriggerALevelChannel]: """Return the ``TRIGger:A:LEVel:CH`` command. @@ -6334,7 +6315,6 @@ def ch(self) -> Dict[int, TriggerALevelChannel]: """ return self._ch - # pylint: disable=invalid-name @property def d(self) -> Dict[int, TriggerALevelDigitalBit]: """Return the ``TRIGger:A:LEVel:D`` command. @@ -7152,7 +7132,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: self._sc = TriggerABusBItemUsbSplitSc(device, f"{self._cmd_syntax}:SC") self._se = TriggerABusBItemUsbSplitSe(device, f"{self._cmd_syntax}:SE") - # pylint: disable=invalid-name @property def et(self) -> TriggerABusBItemUsbSplitEt: """Return the ``TRIGger:A:BUS:B:USB:SPLit:ET`` command tree. @@ -7200,7 +7179,6 @@ def port(self) -> TriggerABusBItemUsbSplitPort: """ return self._port - # pylint: disable=invalid-name @property def sc(self) -> TriggerABusBItemUsbSplitSc: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SC`` command tree. @@ -7216,7 +7194,6 @@ def sc(self) -> TriggerABusBItemUsbSplitSc: """ return self._sc - # pylint: disable=invalid-name @property def se(self) -> TriggerABusBItemUsbSplitSe: """Return the ``TRIGger:A:BUS:B:USB:SPLit:SE`` command tree. @@ -9247,7 +9224,6 @@ def condition(self) -> TriggerABusBItemRs232cCondition: """ # noqa: E501 return self._condition - # pylint: disable=invalid-name @property def rx(self) -> TriggerABusBItemRs232cRx: """Return the ``TRIGger:A:BUS:B:RS232C:RX`` command tree. @@ -9262,7 +9238,6 @@ def rx(self) -> TriggerABusBItemRs232cRx: """ return self._rx - # pylint: disable=invalid-name @property def tx(self) -> TriggerABusBItemRs232cTx: """Return the ``TRIGger:A:BUS:B:RS232C:TX`` command tree. @@ -10077,7 +10052,6 @@ def instr(self) -> TriggerABusBItemMil1553bStatusBitInstr: """ return self._instr - # pylint: disable=invalid-name @property def me(self) -> TriggerABusBItemMil1553bStatusBitMe: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:ME`` command. @@ -10189,7 +10163,6 @@ def subsf(self) -> TriggerABusBItemMil1553bStatusBitSubsf: """ return self._subsf - # pylint: disable=invalid-name @property def tf(self) -> TriggerABusBItemMil1553bStatusBitTf: """Return the ``TRIGger:A:BUS:B:MIL1553B:STATus:BIT:TF`` command. @@ -15120,7 +15093,6 @@ def data(self) -> TriggerABusBItemCanData: """ return self._data - # pylint: disable=invalid-name @property def fd(self) -> TriggerABusBItemCanFd: """Return the ``TRIGger:A:BUS:B:CAN:FD`` command tree. @@ -16661,7 +16633,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: ) self._source = TriggerABusSource(device, f"{self._cmd_syntax}:SOUrce") - # pylint: disable=invalid-name @property def b(self) -> Dict[int, TriggerABusBItem]: """Return the ``TRIGger:A:BUS:B`` command tree. @@ -16841,7 +16812,6 @@ def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: super().__init__(device, cmd_syntax) self._rf = TriggerABandwidthRf(device, f"{self._cmd_syntax}:RF") - # pylint: disable=invalid-name @property def rf(self) -> TriggerABandwidthRf: """Return the ``TRIGger:A:BANDWidth:RF`` command tree. @@ -17413,7 +17383,6 @@ def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "TRIGg self._frequency = TriggerFrequency(device, f"{self._cmd_syntax}:FREQuency") self._state = TriggerState(device, f"{self._cmd_syntax}:STATE") - # pylint: disable=invalid-name @property def a(self) -> TriggerA: """Return the ``TRIGger:A`` command. @@ -17464,7 +17433,6 @@ def a(self) -> TriggerA: """ return self._a - # pylint: disable=invalid-name @property def b(self) -> TriggerB: """Return the ``TRIGger:B`` command. From 3d6b96099f27e61c4561187fd60cb08931e0419a Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 2 Oct 2023 19:54:34 -0700 Subject: [PATCH 02/10] style: Update ruff pre-commit version. --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 2 +- src/tm_devices/drivers/pi/signal_sources/afgs/afg.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c748d4b..a3d22249 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,14 +34,14 @@ repos: - id: remove-tabs - id: forbid-tabs - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.26.3 + rev: 0.27.0 hooks: - id: check-readthedocs - id: check-dependabot - id: check-github-actions - id: check-github-workflows - repo: https://github.com/commitizen-tools/commitizen - rev: 3.9.0 + rev: 3.10.0 hooks: - id: commitizen stages: [commit-msg] @@ -121,7 +121,7 @@ repos: always_run: true args: [., --min=10] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.290 + rev: v0.0.292 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index 256b69dc..b50e5fc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,7 +124,7 @@ pytest-html = ">=4.0" pytest-order = ">=1.0.1" pytest-profiling = ">=1.7.0" python-semantic-release = ">=7.31.2" -ruff = ">=0.0.260" +ruff = ">=0.0.292" safety = ">=2.1.1" sphinx-autoapi = ">=2.0.0" sphinx-copybutton = ">=0.5.1" diff --git a/src/tm_devices/drivers/pi/signal_sources/afgs/afg.py b/src/tm_devices/drivers/pi/signal_sources/afgs/afg.py index dbddd044..6724d556 100644 --- a/src/tm_devices/drivers/pi/signal_sources/afgs/afg.py +++ b/src/tm_devices/drivers/pi/signal_sources/afgs/afg.py @@ -44,7 +44,7 @@ def total_channels(self) -> int: # Public Methods ################################################################################################ # pylint: disable=too-many-locals,line-too-long - def generate_waveform( # noqa: C901,E501,PLR0913 # pyright: ignore[reportIncompatibleMethodOverride] + def generate_waveform( # noqa: C901, PLR0913 # pyright: ignore[reportIncompatibleMethodOverride] self, frequency: float, function: SignalSourceFunctionsAFG, From 26cc5a34d900bf6a254890f03346f98e5e88d79c Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Mon, 2 Oct 2023 20:24:32 -0700 Subject: [PATCH 03/10] ci: Add testing for Python 3.12. --- .github/workflows/test-code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 1566d593..8aa961b1 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} From ca805373a2dceaccb3a57ea36483974f5a06deb5 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 06:50:56 -0700 Subject: [PATCH 04/10] docs: Bumped the version to indicate support for Python 3.12. --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13cd9773..36b05fd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ project adheres to [Semantic Versioning](https://semver.org). ______________________________________________________________________ +## v0.1.14 (2023-10-03) + +### Added + +- Added support for Python 3.12. + +______________________________________________________________________ + ## v0.1.13 (2023-09-21) ### Fixed diff --git a/pyproject.toml b/pyproject.toml index b50e5fc6..85a0346d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ maintainers = [ name = "tm_devices" readme = "README.rst" repository = "https://github.com/tektronix/tm_devices" -version = "0.1.13" +version = "0.1.14" [tool.poetry.dependencies] check4updates = ">=0.0.2" From 8b2f1fc403424310d1acea4954b2226451cce28a Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 07:58:14 -0700 Subject: [PATCH 05/10] ci: Add package to pre-commit hook to account for changes in Python 3.12. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a3d22249..91d7ad25 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,6 +59,7 @@ repos: - id: mdformat args: [--number, --end-of-line, keep] additional_dependencies: + - setuptools # This is required since Python 3.12 no longer installs setuptools by default in virtual environments - mdformat-myst - mdformat-toc - mdformat-frontmatter From 27306a496c54a09281f89b28103b8fa225fa38ef Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 08:28:13 -0700 Subject: [PATCH 06/10] ci: Enable pyright debugging to troubleshoot python 3.12 issues. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 85a0346d..675f79f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -401,6 +401,7 @@ setenv = DOC_PYTHON_VERSION = python3.11 # Keep this in sync with .readthedocs.yml and any CI scripts # Skip pre-commit checks that are explicitly performed by tox SKIP = black,docformatter,ruff,pylint,pyright,pyright-verifytypes,pyroma + PYRIGHT_PYTHON_DEBUG = true commands_pre = poetry install --no-root commands = From ab3e9143164b7fc4980654d60eaedc508a21f88e Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 09:45:46 -0700 Subject: [PATCH 07/10] ci: Add Codecov token to workflow. --- .github/workflows/test-code.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 8aa961b1..668a224e 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -72,6 +72,7 @@ jobs: uses: codecov/codecov-action@v3 if: '!cancelled()' with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./.coverage_tests.xml name: codecov-${{ matrix.os_name }} fail_ci_if_error: true From 5edd3046e87db46d79f4a3b0e65ea0a285420d61 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 10:11:12 -0700 Subject: [PATCH 08/10] build: Add setuptools as a required package for python 3.12 development. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 675f79f3..b03e0336 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,6 +126,7 @@ pytest-profiling = ">=1.7.0" python-semantic-release = ">=7.31.2" ruff = ">=0.0.292" safety = ">=2.1.1" +setuptools = {python = ">=3.12", version = ">=68.2.2"} sphinx-autoapi = ">=2.0.0" sphinx-copybutton = ">=0.5.1" sphinx-rtd-theme = ">=1.0.0" From ac829dff83ef04000848f87ed647ed4254a3258e Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 10:45:31 -0700 Subject: [PATCH 09/10] ci: disable using global node for pyright --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b03e0336..a8374000 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,7 +126,6 @@ pytest-profiling = ">=1.7.0" python-semantic-release = ">=7.31.2" ruff = ">=0.0.292" safety = ">=2.1.1" -setuptools = {python = ">=3.12", version = ">=68.2.2"} sphinx-autoapi = ">=2.0.0" sphinx-copybutton = ">=0.5.1" sphinx-rtd-theme = ">=1.0.0" @@ -403,6 +402,7 @@ setenv = # Skip pre-commit checks that are explicitly performed by tox SKIP = black,docformatter,ruff,pylint,pyright,pyright-verifytypes,pyroma PYRIGHT_PYTHON_DEBUG = true + PYRIGHT_PYTHON_GLOBAL_NODE = False commands_pre = poetry install --no-root commands = From a226346b26d37272c246ef654261739889753403 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 3 Oct 2023 11:17:14 -0700 Subject: [PATCH 10/10] ci: Update environment variables in tox and add a comment about what it is doing. --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a8374000..cadcbab6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -401,8 +401,7 @@ setenv = DOC_PYTHON_VERSION = python3.11 # Keep this in sync with .readthedocs.yml and any CI scripts # Skip pre-commit checks that are explicitly performed by tox SKIP = black,docformatter,ruff,pylint,pyright,pyright-verifytypes,pyroma - PYRIGHT_PYTHON_DEBUG = true - PYRIGHT_PYTHON_GLOBAL_NODE = False + PYRIGHT_PYTHON_GLOBAL_NODE = False # This will cause python-pyright to use nodeenv to install node rather than use the system node commands_pre = poetry install --no-root commands =