Page MenuHomePhabricator

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

Authored by Fabien on Jul 2 2019, 13:03.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.