[linux-nfc] Re: [PATCH v2 1/6] test: Use spaces for Python test scripts
Krzysztof Kozlowski <[email protected]> Wed, 1 Dec 2021 09:56:48 +0100
| Newsgroups | org.01.lists.linux-nfc,dev.linux.lists.oe-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 _______________________________________________ Linux-nfc mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s