HomePhabricator

Make sure we read the command line inputs using utf-8 decoding in python

Description

Make sure we read the command line inputs using utf-8 decoding in python

Summary:
Backport of core PR14128.

Extend our python encodings linter to cover check_output.

Test Plan:

arc lint --everything

Remove one of the encodings arguments and run arc lint. Check the
linter returns an error.

Run the scripts.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
Chun Kuan Lee <ken2812221@gmail.com>Authored on May 5 2020, 07:19
FabienCommitted on May 6 2020, 09:18
FabienPushed on May 6 2020, 09:18
Reviewer
Restricted Project
Differential Revision
D5957: Make sure we read the command line inputs using utf-8 decoding in python
Parents
rABC176f04bbd644: [lint-circular-dependencies] changed expected dep list to establish baseline
Branches
Unknown
Tags
Unknown