Skip to content

Commit cf2d4d0

Browse files
committed
Excluding some false-positive Pycharm inspections.
1 parent 2110427 commit cf2d4d0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/bip44_wallet.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,6 @@ def _getrawtransaction(self, txhash, refetch_from_network: bool = False):
908908

909909
def _get_tx_db_id(self, db_cursor, txhash: str, tx_json: Dict = None, create=True) -> Tuple[int, Optional[Dict]]:
910910
"""
911-
:param tx_entry:
912-
:param db_cursor:
913911
:return: Tuple[int <transaction db id>, Optional[Dict <transaction details json>]]
914912
"""
915913
tx_hash = self._wrap_txid(txhash)

src/hw_intf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ def get_hw_client_state_str():
395395
return wrapper
396396

397397

398+
# noinspection PyTypeChecker
398399
class HWDevices(QObject):
399400
"""
400401
Manages information about all hardware wallet devices connected to the computer.
@@ -937,6 +938,7 @@ def decrypt(ctrl: CtrlObject):
937938
decrypt, (), True, force_close_dlg_callback=partial(cancel_hw_thread_dialog, hw_device.hw_client))
938939

939940

941+
# noinspection PyTypeChecker
940942
class HwSessionInfo(HWSessionBase):
941943
sig_hw_connected = QtCore.pyqtSignal(HWDevice)
942944
sig_hw_disconnected = QtCore.pyqtSignal()

src/wnd_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ def remove_item_from_layout(layout: QLayout, item):
356356
if isinstance(item, QWidgetItem):
357357
w = item.widget()
358358
layout.removeWidget(w)
359+
# noinspection PyTypeChecker
359360
w.setParent(None)
360361
del w
361362
elif isinstance(item, QLayout):

0 commit comments

Comments
 (0)