[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/8] python: update pylint ignores
From: |
Markus Armbruster |
Subject: |
Re: [PATCH 2/8] python: update pylint ignores |
Date: |
Tue, 20 May 2025 09:41:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
John Snow <jsnow@redhat.com> writes:
> The next patch will synchronize the qemu.qmp library with the external,
> standalone version. That synchronization will require a few extra
> ignores for pylint, so do that now.
Just one, unless I'm cross-eyed again.
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> python/setup.cfg | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/python/setup.cfg b/python/setup.cfg
> index d7f5dc7bafe..02cc076eaea 100644
> --- a/python/setup.cfg
> +++ b/python/setup.cfg
> @@ -140,11 +140,12 @@ ignore_missing_imports = True
> # --disable=W".
> disable=consider-using-f-string,
> consider-using-with,
> + no-member, # mypy also handles this better.
> too-many-arguments,
> - too-many-positional-arguments,
> too-many-function-args, # mypy handles this with less false
> positives.
> too-many-instance-attributes,
> - no-member, # mypy also handles this better.
> + too-many-positional-arguments,
Up to here, just a reorder, which I appreciate.
> + unknown-option-value,
This is the new one.
>
> [pylint.basic]
> # Good variable names which should always be accepted, separated by a comma.
- [PATCH 0/8] Python: Fix 'make check-dev' and modernize to 3.9+, John Snow, 2025/05/19
- [PATCH 1/8] python: convert packages to PEP517/pyproject.toml, John Snow, 2025/05/19
- [PATCH 2/8] python: update pylint ignores, John Snow, 2025/05/19
- Re: [PATCH 2/8] python: update pylint ignores,
Markus Armbruster <=
- [PATCH 3/8] python: sync changes from external qemu.qmp package, John Snow, 2025/05/19
- [PATCH 4/8] python: use 3.9+ builtin type hints, John Snow, 2025/05/19
- [PATCH 5/8] python: convert remaining deprecated type hints for 3.9+, John Snow, 2025/05/19
- [PATCH 6/8] python: clean up requirements for 3.9+, John Snow, 2025/05/19
- [PATCH 7/8] python: update mkvenv to type-check under different python versions, John Snow, 2025/05/19