Re: [PATCH v2 1/6] test: Use spaces for Python test scripts

Krzysztof Kozlowski <[email protected]>
Newsgroups dev.linux.lists.oe-linux-nfc,org.01.lists.linux-nfc
Message-ID <[email protected]>
On 29/11/2021 06:06, Mark Greer wrote:
> The Python PEP 8 style guide prefers spaces over tabs so replace all
> tabs in the Python test scripts with spaces. See:
> 
> 	https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

Reformatting entire code is quite intrusive although useful. But while
reformatting - why not indenting it according to PEP 8 with four spaces?
Otherwise we will need second commit touching all the lines again.

> 
> Signed-off-by: Mark Greer <[email protected]>
> ---
>  test/bt-handover         | 192 ++++++++++++++++-----------------
>  test/handover-agent      | 208 ++++++++++++++++++------------------
>  test/monitor-near        |  50 ++++-----
>  test/ndef-agent          | 112 ++++++++++----------
>  test/neardutils.py       | 128 +++++++++++-----------
>  test/phdc-simple-manager | 154 +++++++++++++--------------
>  test/test-adapter        | 160 ++++++++++++++--------------
>  test/test-device         | 180 +++++++++++++++----------------
>  test/test-tag            | 224 +++++++++++++++++++--------------------
>  9 files changed, 704 insertions(+), 704 deletions(-)
> 
> diff --git a/test/bt-handover b/test/

Best regards,
Krzysztof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.