Skip to content

test: Remove RPCOverloadWrapper

Cirrus CI / lint failed May 8, 2025 in 1m 17s

Task Summary

Instruction lint failed in 00:36

Details

✅ 00:04 clone
✅ 00:01 merge_base
✅ 00:34 unshallow
❌ 00:36 lint

[22:37:52.465] {'-testdatadir', '-zmqpubhashblockhwm', '-zmqpubrawtx', '-zmqpubhashtx', '-zmqpubrawtxhwm', '-zmqpubsequence', '-zmqpubsequencehwm', '-zmqpubhashtxhwm', '-includeconf', '-zmqpubrawblock', '-zmqpubhashblock', '-zmqpubrawblockhwm'}
[22:37:56.768] test/functional/rpc_psbt.py:323:9: F841 Local variable `import_res` is assigned to but never used
[22:37:56.768]     |
[22:37:56.768] 321 |         p2sh_p2wsh_ms = wmulti.createmultisig(2, [pubkey0, pubkey1, pubkey2], address_type="p2sh-segwit")
[22:37:56.768] 322 |         p2sh_p2wsh = p2sh_p2wsh_ms["address"]
[22:37:56.768] 323 |         import_res = wmulti.importdescriptors(
[22:37:56.768]     |         ^^^^^^^^^^ F841
[22:37:56.768] 324 |             [
[22:37:56.768] 325 |                 {"desc": p2sh_ms["descriptor"], "timestamp": "now"},
[22:37:56.768]     |
[22:37:56.768]     = help: Remove assignment to unused variable `import_res`
[22:37:56.768] 
[22:37:56.768] test/functional/test_framework/test_node.py:29:26: F401 [*] `.descriptors.descsum_create` imported but unused
[22:37:56.768]    |
[22:37:56.768] 27 |     serialization_fallback,
[22:37:56.768] 28 | )
[22:37:56.768] 29 | from .descriptors import descsum_create
[22:37:56.768]    |                          ^^^^^^^^^^^^^^ F401
[22:37:56.768] 30 | from .messages import NODE_P2P_V2
[22:37:56.768] 31 | from .p2p import P2P_SERVICES, P2P_SUBVERSION
[22:37:56.768]    |
[22:37:56.768]    = help: Remove unused import: `.descriptors.descsum_create`
[22:37:56.768] 
[22:37:56.768] Found 2 errors.
[22:37:56.768] [*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
[22:37:56.775] ^^^
[22:37:56.775] `ruff` found errors!
[22:37:56.775] ^---- ⚠️ Failure generated from lint check 'py_lint' (Lint Python code)!
[22:37:56.775] 
[22:37:56.775] 
[22:37:57.299] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[22:37:57.302] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[22:37:57.303] GOOD
[22:37:57.959] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[22:37:57.964] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[22:37:57.968] GOOD
[22:37:58.034] src/leveldb in HEAD currently refers to tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48
[22:37:58.036] src/leveldb in HEAD was last updated in commit a130bbd154d535b80fe9f602a13bf2e322817881 (tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48)
[22:37:58.036] GOOD
[22:37:58.158] src/minisketch in HEAD currently refers to tree 87710f57550ac964d39e1245baa179f0800586e6
[22:37:58.161] src/minisketch in HEAD was last updated in commit f5d8b66a8cf23f9ccc51fb9702943c8a5f755f43 (tree 87710f57550ac964d39e1245baa179f0800586e6)
[22:37:58.161] GOOD
[22:37:58.280] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[22:37:58.284] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[22:37:58.284] GOOD
[22:38:06.341] doc/release-notes-27826.md:1: Additionaly ==> Additionally
[22:38:06.341] doc/zmq.md:128: mesage ==> message
[22:38:06.341] src/common/netif.cpp:307: addreses ==> addresses
[22:38:06.341] src/test/fuzz/p2p_headers_presync.cpp:37: gloabl ==> global
[22:38:06.341] test/functional/data/rpc_psbt.json:83: ot ==> to, of, or, not
[22:38:06.341] test/functional/data/rpc_psbt.json:87: ot ==> to, of, or, not
[22:38:06.341] test/functional/data/rpc_psbt.json:91: ot ==> to, of, or, not
[22:38:06.341] test/functional/mining_basic.py:107: inteference ==> interference
[22:38:06.341] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[22:38:16.346] Success: no issues found in 297 source files
����