qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

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