]> granicus.if.org Git - libevent/commit
Address `no-self-use` issues reported by pylint
authorEnji Cooper <yaneurabeya@gmail.com>
Fri, 27 Mar 2020 23:20:24 +0000 (16:20 -0700)
committerEnji Cooper <yaneurabeya@gmail.com>
Fri, 27 Mar 2020 23:20:24 +0000 (16:20 -0700)
commit83175940d4547d2f2c32e5356e25dafe3b33aa11
tree68800aba800d3a2bc31b70c27601ac70a9beafc7
parent6da0cc6108540994d285df2be28b149790d91c47
Address `no-self-use` issues reported by pylint

Sprinkle around `@staticmethod` where need be and raise
`NotImplementedError` from `Entry.GetInitializer` instead of doing
similar with `assert`. `NotImplementedError` will provide a hint to
static analyzers that there are abstract methods which need to be
implemented, if they aren't, in subclasses.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
event_rpcgen.py