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

John Snow posted 8 patches 3 months ago
[PATCH 4/8] python/qapi: remove outdated pragmas
Posted by John Snow 3 months ago
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