From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>,
philmd@redhat.com, Markus Armbruster <armbru@redhat.com>,
Eduardo Habkost <ehabkost@redhat.com>
Subject: [PATCH 0/4] python: pylint and flake8 support
Date: Thu, 28 May 2020 18:21:25 -0400 [thread overview]
Message-ID: <20200528222129.23826-1-jsnow@redhat.com> (raw)
This is a quick series to delint the files under python/qemu, with one
extra fix outside of that domain.
This was split out from my longer series attempting to package
python/qemu. This part is a nice standalone chunk.
John Snow (4):
scripts/qmp: Fix shebang and imports
python/machine.py: remove bare except
python/qemu: delint and add pylintrc
python/qemu: delint; add flake8 config
python/qemu/.flake8 | 2 ++
python/qemu/accel.py | 9 ++++---
python/qemu/machine.py | 52 +++++++++++++++++++++++--------------
python/qemu/pylintrc | 58 ++++++++++++++++++++++++++++++++++++++++++
python/qemu/qmp.py | 4 +--
python/qemu/qtest.py | 42 +++++++++++++++++++-----------
scripts/qmp/qmp | 4 ++-
scripts/qmp/qom-fuse | 4 ++-
scripts/qmp/qom-get | 6 +++--
scripts/qmp/qom-list | 6 +++--
scripts/qmp/qom-set | 6 +++--
scripts/qmp/qom-tree | 6 +++--
12 files changed, 150 insertions(+), 49 deletions(-)
create mode 100644 python/qemu/.flake8
create mode 100644 python/qemu/pylintrc
--
2.21.3
next reply other threads:[~2020-05-28 22:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 22:21 John Snow [this message]
2020-05-28 22:21 ` [PATCH 1/4] scripts/qmp: Fix shebang and imports John Snow
2020-05-28 22:21 ` [PATCH 2/4] python/machine.py: remove bare except John Snow
2020-05-28 22:21 ` [PATCH 3/4] python/qemu: delint and add pylintrc John Snow
2020-05-28 22:21 ` [PATCH 4/4] python/qemu: delint; add flake8 config John Snow
2020-05-30 19:33 ` [PATCH 0/4] python: pylint and flake8 support Philippe Mathieu-Daudé
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=20200528222129.23826-1-jsnow@redhat.com \
--to=jsnow@redhat.com \
--cc=armbru@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.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 NNTP newsgroup(s).