HomePhabricator

[python linting] apply aggressive mode in autopep8 (line wrapping)

Description

[python linting] apply aggressive mode in autopep8 (line wrapping)

Summary:
This adds the aggressive mode and then applies all sugggested
changes. Also I've removed the .autopep8 file, as I think it's
better to put things in the arclint file.

These are all just whitespace changes.

To fully reproduce these changes, install autopep8 1.5 and pycodestyle 2.5.0 (most
recent) which catches a few more things than the linux distro
versions. Older versions are happy with the result, but they
will suggest slightly fewer changes it seems.

Depends on D5215 D5216

Test Plan:

ninja check-extended
arc lint --everything

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Feb 8 2020, 00:57
markblundebergPushed on Feb 8 2020, 02:41
Reviewer
Restricted Project
Differential Revision
D5217: [python linting] apply aggressive mode in autopep8 (line wrapping)
Parents
rABC1ec04149bf74: apply nontrivial changes suggested by autopep8 aggressive
Branches
Unknown
Tags
Unknown