[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/8] python/qapi: remove outdated pragmas
|
From: |
John Snow |
|
Subject: |
[PATCH 4/8] python/qapi: remove outdated pragmas |
|
Date: |
Mon, 19 Aug 2024 20:23:13 -0400 |
These pragmas are no longer neccessary under our current linter/static
analysis versions; they can be removed.
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qapi/gen.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/qapi/gen.py b/scripts/qapi/gen.py
index 6a8abe00415..ce94aee8e70 100644
--- a/scripts/qapi/gen.py
+++ b/scripts/qapi/gen.py
@@ -62,11 +62,9 @@ def get_content(self) -> str:
return self._top() + self._preamble + self._body + self._bottom()
def _top(self) -> str:
- # pylint: disable=no-self-use
return ''
def _bottom(self) -> str:
- # pylint: disable=no-self-use
return ''
def write(self, output_dir: str) -> None:
--
2.45.0
- [PATCH 0/8] move qapi under python/qemu/, John Snow, 2024/08/19
- [PATCH 1/8] python/qapi: correct re.Match type hints for 3.13, John Snow, 2024/08/19
- [PATCH 2/8] python/qapi: change "FIXME" to "TODO", John Snow, 2024/08/19
- [PATCH 5/8] python/qapi: ignore missing docstrings in pylint, John Snow, 2024/08/19
- [PATCH 3/8] python/qapi: add pylint pragmas, John Snow, 2024/08/19
- [PATCH 7/8] python/qapi: move scripts/qapi to python/qemu/qapi, John Snow, 2024/08/19
- [PATCH 8/8] python/qapi: remove redundant linter configuration, John Snow, 2024/08/19
- [PATCH 4/8] python/qapi: remove outdated pragmas,
John Snow <=
- [PATCH 6/8] python: allow short names for variables on older pylint, John Snow, 2024/08/19