qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 11/15] iotests: split linters.py out from 297


From: Hanna Reitz
Subject: Re: [PATCH v2 11/15] iotests: split linters.py out from 297
Date: Tue, 26 Oct 2021 12:51:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 19.10.21 16:49, John Snow wrote:
Now, 297 is just the iotests-specific incantations and linters.py is as
minimal as I can think to make it. The only remaining element in here
that ought to be configuration and not code is the list of skip files,
but they're still numerous enough that repeating them for mypy and
pylint configurations both would be ... a hassle.

Signed-off-by: John Snow <jsnow@redhat.com>
---
  tests/qemu-iotests/297        | 72 +++++----------------------------
  tests/qemu-iotests/linters.py | 76 +++++++++++++++++++++++++++++++++++
  2 files changed, 87 insertions(+), 61 deletions(-)
  create mode 100644 tests/qemu-iotests/linters.py

Reviewed-by: Hanna Reitz <hreitz@redhat.com>

I wonder about `check_linter()`, though.  By not moving it to linters.py, we can’t use it in its entry point, and so the Python test infrastructure will have a strong dependency on these linters. Though then again, it probably already does, and I suppose that’s one of the points hindering us from running this from make check?

Hanna




reply via email to

[Prev in Thread] Current Thread [Next in Thread]