Page MenuHomePhabricator

Fix Flake8 E741 errors
ClosedPublic

Authored by Fabien on May 18 2020, 16:17.

Details

Summary

These errors are added in newer versions of pycodestyle.
https://www.flake8rules.com/rules/E741.html

Test Plan

With pycodestyle >= 2.6.0

arc lint --everything

Check there is no E741 error.

ninja check-functional

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

Fabien created this revision.May 18 2020, 16:17
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 18 2020, 16:17
Fabien requested review of this revision.May 18 2020, 16:17
jasonbcox accepted this revision.May 18 2020, 16:51
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
test/functional/test_framework/messages.py
77 ↗(On Diff #20214)

Nit: cs doesn't mean anything about the variable or what it contains. list or something would be better here (assuming l was supposed to be a list in the first place).

This revision is now accepted and ready to land.May 18 2020, 16:51
Fabien updated this revision to Diff 20221.May 18 2020, 18:35

Update variable name.

jasonbcox accepted this revision.May 18 2020, 18:56
This revision was automatically updated to reflect the committed changes.