Skip to content

lnsweep: factor out "maybe_reveal_preimage_for_htlc"

ef8fd03
Select commit
Loading
Failed to load commit list.
Merged

lnsweep: factor out "maybe_reveal_preimage_for_htlc" #10330

lnsweep: factor out "maybe_reveal_preimage_for_htlc"
ef8fd03
Select commit
Loading
Failed to load commit list.
Cirrus CI / linter: Flake8 Non-Mandatory completed Nov 28, 2025 in 55s

Task Summary

Instruction flake8 failed in 00:31

Details

✅ 00:18 clone
✅ 00:01 pip
✅ 00:02 install
❌ 00:31 flake8

17    E116 unexpected indentation (comment)
3     E117 over-indented
5     E121 continuation line under-indented for hanging indent
1641  E122 continuation line missing indentation or outdented
10    E123 closing bracket does not match indentation of opening bracket's line
4     E124 closing bracket does not match visual indentation
7     E125 continuation line with same indent as next logical line
52    E126 continuation line over-indented for hanging indent
60    E127 continuation line over-indented for visual indent
56    E128 continuation line under-indented for visual indent
63    E131 continuation line unaligned for hanging indent
30    E201 whitespace after '{'
8     E202 whitespace before '}'
54    E203 whitespace before ':'
1     E211 whitespace before '['
107   E221 multiple spaces before operator
44    E222 multiple spaces after operator
124   E225 missing whitespace around operator
667   E226 missing whitespace around arithmetic operator
8     E227 missing whitespace around bitwise or shift operator
70    E228 missing whitespace around modulo operator
263   E231 missing whitespace after ','
329   E241 multiple spaces after ','
120   E251 unexpected spaces around keyword / parameter equals
9     E252 missing whitespace around parameter equals
123   E261 at least two spaces before inline comment
23    E262 inline comment should start with '# '
219   E265 block comment should start with '# '
48    E266 too many leading '#' for block comment
4     E271 multiple spaces after keyword
1     E275 missing whitespace after keyword
195   E301 expected 1 blank line, found 0
151   E302 expected 2 blank lines, found 1
45    E303 too many blank lines (3)
11    E305 expected 2 blank lines after class or function definition, found 1
138   E306 expected 1 blank line before a nested definition, found 0
1     E401 multiple imports on one line
44    E402 module level import not at top of file
15246 E501 line too long (135 > 79 characters)
71    E502 the backslash is redundant between brackets
217   E701 multiple statements on one line (colon)
5     E702 multiple statements on one line (semicolon)
19    E704 multiple statements on one line (def)
12    E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
47    E731 do not assign a lambda expression, use a def
38    E741 ambiguous variable name 'l'
421   F401 '.util.format_satoshis' imported but unused
5     F402 import '_' from line 23 shadowed by loop variable
129   F541 f-string is missing placeholders
199   F841 local variable 'e2' is assigned to but never used
1     F901 'raise NotImplemented' should be 'raise NotImplementedError'
34    W391 blank line at end of file
200   W503 line break before binary operator
109   W504 line break after binary operator
21726
�������������������������������������������������������������������������������������������������������������