Cirrus CI / lint
failed
Sep 25, 2024 in 1m 30s
Task Summary
Instruction lint failed in 00:36
Details
✅ 00:04 clone
✅ 00:11 merge_base
✅ 00:01 test_runner
✅ 00:05 python
✅ 00:29 unshallow
❌ 00:36 lint
Args used : 215
Args documented : 227
Args undocumented: 0
set()
Args unknown : 12
{'-zmqpubsequence', '-zmqpubrawblock', '-zmqpubsequencehwm', '-zmqpubrawtx', '-includeconf', '-zmqpubhashtxhwm', '-testdatadir', '-zmqpubhashtx', '-zmqpubhashblock', '-zmqpubhashblockhwm', '-zmqpubrawblockhwm', '-zmqpubrawtxhwm'}
test/functional/wallet_listreceivedby.py:136:1: W293 [*] Blank line contains whitespace
|
134 | # Send from node 0 to 1
135 | addr = self.nodes[1].getnewaddress()
136 |
| ^^^^^^^^ W293
137 | self.nodes[0].sendtoaddress(addr, 0.1)
138 | self.sync_all()
|
= help: Remove whitespace from blank line
Found 1 error.
[*] 1 fixable with the `--fix` option.
`ruff` found errors!
^---- ⚠️ Failure generated from lint check 'py_lint'!
Lint Python code
src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
GOOD
src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
GOOD
src/leveldb in HEAD currently refers to tree cb176f0f0a9a93bcef89bdd70424cae01ad21629
src/leveldb in HEAD was last updated in commit a37778d4d32b4ddeff96f68a130dc8da3a84b278 (tree cb176f0f0a9a93bcef89bdd70424cae01ad21629)
GOOD
src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
GOOD
src/secp256k1 in HEAD currently refers to tree 8664fa7a12899d879cab995b49d9457b22accf9d
src/secp256k1 in HEAD was last updated in commit 611562806cf3fd3028e24e6c5a8e8dcb8805be38 (tree 8664fa7a12899d879cab995b49d9457b22accf9d)
GOOD
test/functional/wallet_listreceivedby.py:136:
^^^
Trailing whitespace (including Windows line endings [CR LF]) is problematic, because git may warn
about it, or editors may remove it by default, forcing developers in the future to either undo the
changes manually or spend time on review.
Thus, it is best to remove the trailing space now.
Please add any false positives, such as subtrees, Windows-related files, patch files, or externally
sourced files to the exclude list.
^---- ⚠️ Failure generated from lint check 'trailing_whitespace'!
Check for trailing whitespace
src/ipc/protocol.h:57: neccessary ==> necessary
src/pow.cpp:138: signficant ==> significant
^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
Success: no issues found in 300 source files
����������������������������������������������������������������������������������������
Loading