Fix experttune style and types as now checked

Since this is now in the chirp/ module, it's getting checked.
This commit is contained in:
Dan Smith 2024-05-09 16:29:27 -07:00 committed by Dan Smith
parent 7db8b1ad12
commit 12ce9c1d57
3 changed files with 3 additions and 4 deletions

View File

@ -33,7 +33,7 @@ BANDS = {
class BitwiseFrame(icomciv.Frame):
_fmt = ''
_datalen = 0
_querycmd = None
_querycmd: int | None = None
def __init__(self):
super().__init__()

View File

@ -198,7 +198,7 @@ SPLIT = ["", "spl"]
class Frame:
"""Base class for an ICF frame"""
_cmd = 0x00
_sub = 0x00
_sub: int | None = 0x00
def __init__(self):
self._data = b""
@ -459,7 +459,7 @@ class IcomCIVRadio(icf.IcomLiveRadio):
self._willecho = self._detect_echo()
LOG.debug("Interface echo: %s" % self._willecho)
try:
f = self._get_template_memory()
self._get_template_memory()
LOG.info('Detected %i baud' % baud)
break
except errors.RadioError:

View File

@ -24,7 +24,6 @@
./chirp/drivers/gmrsv2.py
./chirp/drivers/h777.py
./chirp/drivers/icf.py
./chirp/drivers/icomciv.py
./chirp/drivers/iradio_uv_5118.py
./chirp/drivers/kenwood_live.py
./chirp/drivers/kg935g.py