Browse Source

minor testing/build fixes

The MMGen Project 2 months ago
parent
commit
3a967b46dc
3 changed files with 18 additions and 15 deletions
  1. 1 1
      mmgen/daemon.py
  2. 16 14
      pyproject.toml
  3. 1 0
      test/test-release.d/cfg.sh

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

+ 16 - 14
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",
+	"CmdGroupMgr",
 	"CmdTestEthBumpMethods",
+	"CmdTestEthdevMethods",
 	"CmdTestEthSwapMethods",
-	"TestHashFunc",
+	"FFI_override",
 	"GenTool",
-	"VirtBlockDeviceBase",
-	"SwapMgrBase",
-	"Opts",
 	"Help",
-	"FFI_override",
-	"CmdGroupMgr",
+	"Opts",
+	"SwapMgrBase",
+	"TestHashFunc",
+	"VirtBlockDeviceBase",
 ]

+ 1 - 0
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