minor testing/build fixes

This commit is contained in:
The MMGen Project 2025-09-17 09:33:04 +00:00
commit 3a967b46dc
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 18 additions and 15 deletions

View file

@ -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']),
}

View file

@ -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",
]

View file

@ -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