From 3a967b46dc2b287fd9015d8893b9f9c97f253ef6 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Wed, 17 Sep 2025 09:33:04 +0000 Subject: [PATCH] minor testing/build fixes --- mmgen/daemon.py | 2 +- pyproject.toml | 36 +++++++++++++++++++----------------- test/test-release.d/cfg.sh | 1 + 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/mmgen/daemon.py b/mmgen/daemon.py index 997ec4a8..0e490c96 100755 --- a/mmgen/daemon.py +++ b/mmgen/daemon.py @@ -287,7 +287,7 @@ class CoinDaemon(Daemon): 'BCH': _cd(['bitcoin_cash_node']), 'LTC': _cd(['litecoin_core']), 'XMR': _cd(['monero']), - 'ETH': _cd(['geth', 'reth', 'erigon', 'openethereum']), + 'ETH': _cd(['geth', 'reth', 'erigon']), #, 'openethereum' 'ETC': _cd(['parity']), } diff --git a/pyproject.toml b/pyproject.toml index da7c540e..1894739e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,15 +102,18 @@ mixin-class-rgx = """.*[Mm]ixin|\ RPC|TxProxyClient|Contract)$""" ignored-classes = [ # ignored for no-member, otherwise checked + "argparse.Namespace", "optparse.Values", "thread._local", "_thread._local", - "argparse.Namespace", # mmgen: "baseconv", + "deserialized_tx", "mmgen.autosign.Signable.base", "mmgen.autosign.Autosign", # tx_dir, etc. created dynamically - "Sha2", + "mmgen.rpc.local.RPCClient", + "mmgen.proto.eth.tx.transaction.Transaction", + "mmgen.proto.eth.tw.view.EthereumTwView", "mmgen.xmrwallet.file.MoneroMMGenTX.Base", "mmgen.xmrwallet.file.MoneroWalletOutputsFile.Base", "mmgen.xmrwallet.ops.sweep.OpSweep", @@ -120,23 +123,22 @@ ignored-classes = [ # ignored for no-member, otherwise checked "mmgen.xmrwallet.ops.txview.OpTxview", "mmgen.xmrwallet.file.outputs.MoneroWalletOutputsFile.Base", "mmgen.xmrwallet.file.tx.MoneroMMGenTX.Base", - "mmgen.proto.eth.tx.Completed", - "TxInfo", - "TwRPC", - "MnemonicEntry", "MMGenObjectDevTools", + "MnemonicEntry", "MnEntryMode", - "deserialized_tx", + "Sha2", + "TwRPC", + "TxInfo", # test suite: - "CmdTestEthdevMethods", - "CmdTestEthBumpMethods", - "CmdTestEthSwapMethods", - "TestHashFunc", - "GenTool", - "VirtBlockDeviceBase", - "SwapMgrBase", - "Opts", - "Help", - "FFI_override", "CmdGroupMgr", + "CmdTestEthBumpMethods", + "CmdTestEthdevMethods", + "CmdTestEthSwapMethods", + "FFI_override", + "GenTool", + "Help", + "Opts", + "SwapMgrBase", + "TestHashFunc", + "VirtBlockDeviceBase", ] diff --git a/test/test-release.d/cfg.sh b/test/test-release.d/cfg.sh index 62636bd8..450e8a6f 100755 --- a/test/test-release.d/cfg.sh +++ b/test/test-release.d/cfg.sh @@ -84,6 +84,7 @@ init_tests() { PYLINT_OPTS='--errors-only --jobs=0' d_pylint="code errors with Pylint static code analyzer" e_pylint="Error checking failed!" + # use pylint==3.1.1 t_pylint=" b $pylint $PYLINT_OPTS mmgen b $pylint $PYLINT_OPTS test