Page MenuHomePhabricator

sort python imports in remaining test_framework and misc files
ClosedPublic

Authored by PiRK on Sep 27 2021, 08:56.

Details

Summary

This is preparation work to add a new linter that will enforce this new sorting.

The command used was:
isort --profile=black --line-length=79 src/ test/ cmake/ share/

See D10200 for the rationale regarding --profile=black --line-length=79

Test Plan

ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Sep 27 2021, 08:57
Fabien added inline comments.
test/functional/test_framework/coverage.py
13 ↗(On Diff #30174)

Is that an isort thing ? Same as https://reviews.bitcoinabc.org/D10200

test/functional/test_framework/script.py
25 ↗(On Diff #30174)

Dito

test/functional/test_framework/coverage.py
13 ↗(On Diff #30174)

Yes. I added a note for this behavior in the description for D10200

This revision is now accepted and ready to land.Sep 29 2021, 08:04