summaryrefslogtreecommitdiff
path: root/event_rpcgen.py
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2020-03-28 15:58:36 +0300
committerAzat Khuzhin <azat@libevent.org>2020-03-28 15:58:36 +0300
commit121fe013721b4709719471fea73c2a4de3d4f101 (patch)
tree5f100ad0b2af3fa6f9694e4384d07fc07c3268cf /event_rpcgen.py
parent47a2bcf6e844292c7754cf9bd726a5416e5ad24a (diff)
downloadlibevent-121fe013721b4709719471fea73c2a4de3d4f101.tar.gz
event_rpcgen: suppress some warnings to make pylint clean
Diffstat (limited to 'event_rpcgen.py')
-rwxr-xr-xevent_rpcgen.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/event_rpcgen.py b/event_rpcgen.py
index 8e9ed1fc..6b8478f0 100755
--- a/event_rpcgen.py
+++ b/event_rpcgen.py
@@ -6,6 +6,12 @@
#
# Generates marshaling code based on libevent.
+# pylint: disable=too-many-lines
+# pylint: disable=too-many-branches
+# pylint: disable=too-many-public-methods
+# pylint: disable=too-many-statements
+# pylint: disable=global-statement
+
# TODO:
# 1) propagate the arguments/options parsed by argparse down to the
# instantiated factory objects.
@@ -48,7 +54,7 @@ def TranslateList(mylist, mydict):
class RpcGenError(Exception):
"""An Exception class for parse errors."""
- def __init__(self, why):
+ def __init__(self, why): # pylint: disable=super-init-not-called
self.why = why
def __str__(self):