qapi/gen.py: delint with pylint
commit9abddb5be44245e8529a8c132a16176fc63d0df6
authorJohn Snow <jsnow@redhat.com>
Fri, 9 Oct 2020 16:15:53 +0000 (9 12:15 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 10 Oct 2020 09:37:49 +0000 (10 11:37 +0200)
tree47ddf4322d5b330dfc6edbc2d06940fa2ccfc954
parentcc6263c44b3ad70a8cb884518e78e70c17f180d0
qapi/gen.py: delint with pylint

'fp' and 'fd' are self-evident in context, add them to the list of OK
names.

_top and _bottom also need to stay standard methods because some users
override the method and need to use `self`. Tell pylint to shush.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20201009161558.107041-32-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/gen.py
scripts/qapi/pylintrc