diff options
author | Azat Khuzhin <azat@libevent.org> | 2020-03-28 15:58:36 +0300 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2020-03-28 15:58:36 +0300 |
commit | 121fe013721b4709719471fea73c2a4de3d4f101 (patch) | |
tree | 5f100ad0b2af3fa6f9694e4384d07fc07c3268cf /event_rpcgen.py | |
parent | 47a2bcf6e844292c7754cf9bd726a5416e5ad24a (diff) | |
download | libevent-121fe013721b4709719471fea73c2a4de3d4f101.tar.gz |
event_rpcgen: suppress some warnings to make pylint clean
Diffstat (limited to 'event_rpcgen.py')
-rwxr-xr-x | event_rpcgen.py | 8 |
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): |