oe-linux-nfc.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Mark Greer <mgreer@animalcreek.com>
To: linux-nfc@lists.01.org
Subject: [RFC v2 0/6] Python3 conversion + formatting
Date: Sun, 28 Nov 2021 22:06:00 -0700	[thread overview]
Message-ID: <20211129050606.873494-1-mgreer@animalcreek.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

Take 2 of porting deprecated Python2 code to Python3 plus some
reformatting to better conform with the PEP 8 style guide.  There
are still issue with any python scripts using gobject but this
should move things a small step forward.

Changes v1->v2:
 - replaced tabs with spaces as per PEP 8 style guide
 - removed extra parens in print calls
 - reformatted using "Prettier" (4 space indent as per
   PEP 8 style guide

Mark Greer (6):
  test: Use spaces for Python test scripts
  test: Convert test script from Python2 to Python3
  test: Reformat Python test scripts
  se: Use spaces only for SE Python test scripts
  se: Convert SE test script from Python2 to Python3
  se: Reformat SE Python test scripts

 se/test/test-channel     | 100 ++++++-----
 se/test/test-seel        | 215 ++++++++++++-----------
 test/bt-handover         | 251 +++++++++++++++------------
 test/handover-agent      | 286 +++++++++++++++++-------------
 test/monitor-near        |  80 +++++----
 test/ndef-agent          | 114 ++++++------
 test/neard-ui.py         | 364 +++++++++++++++++++++------------------
 test/neardutils.py       | 141 ++++++++-------
 test/phdc-simple-manager | 252 ++++++++++++++-------------
 test/test-adapter        | 194 +++++++++++----------
 test/test-device         | 240 ++++++++++++++------------
 test/test-tag            | 244 +++++++++++++-------------
 12 files changed, 1337 insertions(+), 1144 deletions(-)

-- 
2.33.1

             reply	other threads:[~2021-11-29  5:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-29  5:06 Mark Greer [this message]
2021-11-29  5:06 ` [PATCH v2 1/6] test: Use spaces for Python test scripts Mark Greer
2021-12-01  8:56   ` Krzysztof Kozlowski
2021-11-29  5:06 ` [PATCH v2 2/6] test: Convert test script from Python2 to Python3 Mark Greer
2021-12-01  9:00   ` Krzysztof Kozlowski
2021-11-29  5:06 ` [PATCH v2 3/6] test: Reformat Python test scripts Mark Greer
2021-12-01  9:13   ` Krzysztof Kozlowski
2021-12-06 17:10     ` Mark Greer
2021-11-29  5:06 ` [PATCH v2 4/6] se: Use spaces only for SE " Mark Greer
2021-12-01  9:15   ` Krzysztof Kozlowski
2021-12-06 17:11     ` Mark Greer
2021-11-29  5:06 ` [PATCH v2 5/6] se: Convert SE test script from Python2 to Python3 Mark Greer
2021-12-01  9:15   ` Krzysztof Kozlowski
2021-11-29  5:06 ` [PATCH v2 6/6] se: Reformat SE Python test scripts Mark Greer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211129050606.873494-1-mgreer@animalcreek.com \
    --to=mgreer@animalcreek.com \
    --cc=linux-nfc@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).