Page MenuHomePhabricator

[python linting] enforce E731: Do not assign a lambda expression, use a def
ClosedPublic

Authored by markblundeberg on Fri, Feb 7, 15:30.

Details

Summary

Depends on D5202

Test Plan

./test/functional/test_runner.py wallet_multiwallet
arc lint --everything

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

markblundeberg created this revision.Fri, Feb 7, 15:30
Herald added a reviewer: Restricted Project. · View Herald TranscriptFri, Feb 7, 15:30
markblundeberg added inline comments.Fri, Feb 7, 15:37
test/functional/wallet_multiwallet.py
29 ↗(On Diff #16120)

note: this one line function style would be blocked by E704 but it seems to be a prevalent violation...

deadalnix accepted this revision.Fri, Feb 7, 16:19
This revision is now accepted and ready to land.Fri, Feb 7, 16:19