summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/gen.py
diff options
context:
space:
mode:
authorJohn Snow2020-10-09 18:15:34 +0200
committerMarkus Armbruster2020-10-10 11:37:47 +0200
commita7aa64a6aed6d1979881a07dc3d889fc7366cce2 (patch)
tree1be1722995a1cfec03f7b157bc7666460e66df1b /scripts/qapi/gen.py
parentqapi/common.py: Add indent manager (diff)
downloadqemu-a7aa64a6aed6d1979881a07dc3d889fc7366cce2.tar.gz
qemu-a7aa64a6aed6d1979881a07dc3d889fc7366cce2.tar.xz
qemu-a7aa64a6aed6d1979881a07dc3d889fc7366cce2.zip
qapi/common.py: delint with pylint
At this point, that just means using a consistent strategy for constant names. constants get UPPER_CASE and names not used externally get a leading underscore. As a preference, while renaming constants to be UPPERCASE, move them to the head of the file. Generally, it's nice to be able to audit the code that runs on import in one central place. 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-13-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/gen.py')
0 files changed, 0 insertions, 0 deletions