HomePhabricator

apply nontrivial changes suggested by autopep8 aggressive

Description

apply nontrivial changes suggested by autopep8 aggressive

Summary:
autopep8 has an aggressive mode that I'd like to enable,
mostly it makes more line wrapping changes but it also does
some code transformations. I've separated out the nontrivial
changes here, plus one whitespace change that it doesn't do
quite right (the print in linearize-data).

Test Plan:

ninja check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5215

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Feb 8 2020, 00:27
deadalnixPushed on Feb 8 2020, 03:18
Reviewer
Restricted Project
Differential Revision
D5215: apply nontrivial changes suggested by autopep8 aggressive
Parents
rSTAGING873a0883879f: [python linting] nit
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/16165