diff mbox series

[4/8] python/qapi: remove outdated pragmas

Message ID 20240820002318.1380276-5-jsnow@redhat.com (mailing list archive)
State New, archived
Headers show
Series move qapi under python/qemu/ | expand

Commit Message

John Snow Aug. 20, 2024, 12:23 a.m. UTC
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 mbox series

Patch

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: