HomePhabricator

[LINTER] Fix the python format string when dealing with arrays

Description

[LINTER] Fix the python format string when dealing with arrays

Summary:
Thanks to Mark for finding the bug.

The lint-python-format.py linter failed the transformation when the
qualifier was an array. This diff adds the case management and update
the tests accordingly.

Test Plan:
Should return nothing:

./test/lint/lint-python-format.py

arc lint --everything

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
FabienAuthored on Jul 2 2019, 12:59
nakihitoPushed on Jul 3 2019, 18:24
Reviewer
Restricted Project
Differential Revision
D3517: [LINTER] Fix the python format string when dealing with arrays
Parents
rSTAGINGc662dd52fc13: [test] Round target fee to 8 decimals in assert_fee_amount
Branches
Unknown
Tags
Unknown