qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: "John Snow" <jsnow@redhat.com>, "Cleber Rosa" <crosa@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Thomas Huth" <thuth@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Beraldo Leal" <bleal@redhat.com>,
	"Michael Roth" <michael.roth@amd.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 0/8] move qapi under python/qemu/
Date: Mon, 19 Aug 2024 20:23:09 -0400	[thread overview]
Message-ID: <20240820002318.1380276-1-jsnow@redhat.com> (raw)

Move the QAPI generator module to python/qemu/qapi so that it's checked
by the same standard linter/static analysis regime as the other python
code.

This has the additional side-effect of marking me as a co-maintainer of
the QAPI generator.

John Snow (8):
  python/qapi: correct re.Match type hints for 3.13
  python/qapi: change "FIXME" to "TODO"
  python/qapi: add pylint pragmas
  python/qapi: remove outdated pragmas
  python/qapi: ignore missing docstrings in pylint
  python: allow short names for variables on older pylint
  python/qapi: move scripts/qapi to python/qemu/qapi
  python/qapi: remove redundant linter configuration

 MAINTAINERS                                 |  2 +-
 docs/conf.py                                |  2 +-
 docs/sphinx/qapidoc.py                      |  6 +-
 meson.build                                 | 28 +++++-----
 {scripts => python/qemu}/qapi/__init__.py   |  0
 {scripts => python/qemu}/qapi/commands.py   |  4 +-
 {scripts => python/qemu}/qapi/common.py     | 12 +++-
 {scripts => python/qemu}/qapi/error.py      |  0
 {scripts => python/qemu}/qapi/events.py     |  4 +-
 {scripts => python/qemu}/qapi/expr.py       |  3 +
 {scripts => python/qemu}/qapi/gen.py        |  4 +-
 {scripts => python/qemu}/qapi/introspect.py |  3 +
 {scripts => python/qemu}/qapi/main.py       |  2 +
 {scripts => python/qemu}/qapi/parser.py     |  9 ++-
 {scripts => python/qemu}/qapi/schema.py     |  2 +-
 {scripts => python/qemu}/qapi/source.py     |  2 +
 {scripts => python/qemu}/qapi/types.py      |  2 +
 {scripts => python/qemu}/qapi/visit.py      |  3 +
 python/setup.cfg                            | 22 ++++----
 scripts/qapi-gen.py                         |  4 +-
 scripts/qapi/.flake8                        |  3 -
 scripts/qapi/.isort.cfg                     |  7 ---
 scripts/qapi/mypy.ini                       |  4 --
 scripts/qapi/pylintrc                       | 61 ---------------------
 tests/qapi-schema/meson.build               |  2 +-
 tests/qapi-schema/test-qapi.py              |  4 +-
 26 files changed, 78 insertions(+), 117 deletions(-)
 rename {scripts => python/qemu}/qapi/__init__.py (100%)
 rename {scripts => python/qemu}/qapi/commands.py (99%)
 rename {scripts => python/qemu}/qapi/common.py (96%)
 rename {scripts => python/qemu}/qapi/error.py (100%)
 rename {scripts => python/qemu}/qapi/events.py (98%)
 rename {scripts => python/qemu}/qapi/expr.py (99%)
 rename {scripts => python/qemu}/qapi/gen.py (99%)
 rename {scripts => python/qemu}/qapi/introspect.py (99%)
 rename {scripts => python/qemu}/qapi/main.py (98%)
 rename {scripts => python/qemu}/qapi/parser.py (99%)
 rename {scripts => python/qemu}/qapi/schema.py (99%)
 rename {scripts => python/qemu}/qapi/source.py (98%)
 rename {scripts => python/qemu}/qapi/types.py (99%)
 rename {scripts => python/qemu}/qapi/visit.py (99%)
 delete mode 100644 scripts/qapi/.flake8
 delete mode 100644 scripts/qapi/.isort.cfg
 delete mode 100644 scripts/qapi/mypy.ini
 delete mode 100644 scripts/qapi/pylintrc

-- 
2.45.0




             reply	other threads:[~2024-08-20  0:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-20  0:23 John Snow [this message]
2024-08-20  0:23 ` [PATCH 1/8] python/qapi: correct re.Match type hints for 3.13 John Snow
2024-08-20 10:19   ` Philippe Mathieu-Daudé
2024-08-20  0:23 ` [PATCH 2/8] python/qapi: change "FIXME" to "TODO" John Snow
2024-08-30 11:09   ` Markus Armbruster
2024-08-30 18:33     ` John Snow
2024-08-31  6:02       ` Markus Armbruster
2024-09-03 16:44         ` John Snow
2024-08-20  0:23 ` [PATCH 3/8] python/qapi: add pylint pragmas John Snow
2024-08-20  0:23 ` [PATCH 4/8] python/qapi: remove outdated pragmas John Snow
2024-08-20  0:23 ` [PATCH 5/8] python/qapi: ignore missing docstrings in pylint John Snow
2024-08-20  0:23 ` [PATCH 6/8] python: allow short names for variables on older pylint John Snow
2024-08-20  0:23 ` [PATCH 7/8] python/qapi: move scripts/qapi to python/qemu/qapi John Snow
2024-08-30 11:20   ` Markus Armbruster
2024-08-30 11:29     ` Daniel P. Berrangé
2024-08-30 17:53       ` John Snow
2024-08-30 18:22     ` John Snow
2024-09-02  8:51       ` Daniel P. Berrangé
2024-09-02  9:35         ` Peter Maydell
2024-09-03 17:31         ` John Snow
2024-08-20  0:23 ` [PATCH 8/8] python/qapi: remove redundant linter configuration John Snow

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=20240820002318.1380276-1-jsnow@redhat.com \
    --to=jsnow@redhat.com \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=bleal@redhat.com \
    --cc=crosa@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=michael.roth@amd.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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).