HomePhabricator

[lint] replace autopep8 with black (everything but contrib)

Description

[lint] replace autopep8 with black (everything but contrib)

Summary:
Run black on all files previously linted by autopep8, excluding "contrib" (will be split over more diffs for ease of review).
See D13876 for more background on black.

Note that this also touches some files previously processed in D13879, D13880 and D13881. This is because I did not rerun the linter after landing D13882, so already submitted diffs did not apply a few of the --preview related changes.

Depends on D13888

Test Plan:
With chronik enabled: ninja all check-all
arc lint --everything

CI builds

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on May 11 2023, 07:30
PiRKPushed on May 12 2023, 13:46
Reviewer
Restricted Project
Differential Revision
D13889: [lint] replace autopep8 with black (everything but contrib)
Parents
rABCbeecd495d6d4: [lint] replace autopep8 with black (test_framework)
Branches
Unknown
Tags
Unknown