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
Branch
fix_linter_python_format_array
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6620
Build 11287: Bitcoin ABC Buildbot (legacy)
Build 11286: arc lint + arc unit