Cirrus CI / lint
failed
Oct 10, 2024 in 1m 31s
Task Summary
Instruction lint failed in 00:38
Details
✅ 00:04 clone
✅ 00:10 merge_base
✅ 00:01 test_runner
✅ 00:05 python
✅ 00:30 unshallow
❌ 00:38 lint
[19:30:41.987] + echo
[19:30:41.987]
[19:30:41.987] + git log --no-merges --oneline HEAD~..HEAD
[19:30:41.991] 395d13d2d0 test: Add functional test for stalling at tip
[19:30:41.991] 8c0c5ffc3d p2p: Add additional peers to download from when close to the tip
[19:30:41.991] b78b78fbad test: add sub-test for near-tip stalling
[19:30:41.991] 0230cff278 test: make p2p_ibd_stalling.py more modular
[19:30:41.992] + echo
[19:30:41.992]
[19:30:41.992] + test/lint/commit-script-check.sh HEAD~..HEAD
[19:30:42.041] + RUST_BACKTRACE=1
[19:30:42.041] + /lint_test_runner/test_runner
[19:30:42.337] Args used : 215
[19:30:42.337] Args documented : 227
[19:30:42.337] Args undocumented: 0
[19:30:42.337] set()
[19:30:42.337] Args unknown : 12
[19:30:42.337] {'-zmqpubhashtx', '-zmqpubhashblock', '-zmqpubrawblockhwm', '-zmqpubrawblock', '-zmqpubrawtxhwm', '-zmqpubrawtx', '-includeconf', '-zmqpubhashtxhwm', '-zmqpubsequencehwm', '-zmqpubhashblockhwm', '-testdatadir', '-zmqpubsequence'}
[19:30:46.569] test/functional/p2p_ibd_stalling.py:28:5: F401 [*] `test_framework.script.OP_DROP` imported but unused
[19:30:46.569] |
[19:30:46.569] 26 | from test_framework.script import (
[19:30:46.569] 27 | CScript,
[19:30:46.569] 28 | OP_DROP,
[19:30:46.569] | ^^^^^^^ F401
[19:30:46.569] 29 | OP_TRUE,
[19:30:46.569] 30 | )
[19:30:46.569] |
[19:30:46.569] = help: Remove unused import: `test_framework.script.OP_DROP`
[19:30:46.569]
[19:30:46.569] Found 1 error.
[19:30:46.569] [*] 1 fixable with the `--fix` option.
[19:30:46.571] `ruff` found errors!
[19:30:46.571] ^---- ⚠️ Failure generated from lint check 'py_lint'!
[19:30:46.571] Lint Python code
[19:30:46.759] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[19:30:46.761] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[19:30:46.761] GOOD
[19:30:47.199] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[19:30:47.201] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[19:30:47.201] GOOD
[19:30:47.319] src/leveldb in HEAD currently refers to tree cb176f0f0a9a93bcef89bdd70424cae01ad21629
[19:30:47.321] src/leveldb in HEAD was last updated in commit a37778d4d32b4ddeff96f68a130dc8da3a84b278 (tree cb176f0f0a9a93bcef89bdd70424cae01ad21629)
[19:30:47.321] GOOD
[19:30:47.360] src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
[19:30:47.362] src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
[19:30:47.362] GOOD
[19:30:47.384] src/secp256k1 in HEAD currently refers to tree 8664fa7a12899d879cab995b49d9457b22accf9d
[19:30:47.387] src/secp256k1 in HEAD was last updated in commit 611562806cf3fd3028e24e6c5a8e8dcb8805be38 (tree 8664fa7a12899d879cab995b49d9457b22accf9d)
[19:30:47.387] GOOD
[19:30:59.684] Success: no issues found in 301 source files
[19:31:08.766] src/cluster_linearize.h:674: Unusued ==> Unused
[19:31:08.766] src/ipc/protocol.h:57: neccessary ==> necessary
[19:31:08.766] src/net_processing.cpp:1636: bandwith ==> bandwidth
[19:31:08.766] src/pow.cpp:138: signficant ==> significant
[19:31:08.766] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
������������������������������������������������������������������������������������
Loading