xemu/scripts/qapi
John Snow a7aa64a6ae 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>
2020-10-10 11:37:47 +02:00
..
.flake8 qapi: delint using flake8 2020-10-10 11:37:47 +02:00
.isort.cfg qapi: enforce import order/styling with isort 2020-10-10 11:37:47 +02:00
__init__.py qapi-gen: New common driver for code and doc generators 2018-03-02 13:14:09 -06:00
commands.py qapi: delint using flake8 2020-10-10 11:37:47 +02:00
common.py qapi/common.py: delint with pylint 2020-10-10 11:37:47 +02:00
error.py qapi: Use super() now we have Python 3 2020-03-05 09:24:11 +01:00
events.py qapi: Remove wildcard includes 2020-10-10 11:37:47 +02:00
expr.py qapi: enforce import order/styling with isort 2020-10-10 11:37:47 +02:00
gen.py qapi: Remove wildcard includes 2020-10-10 11:37:47 +02:00
introspect.py qapi: enforce import order/styling with isort 2020-10-10 11:37:47 +02:00
main.py qapi: Prefer explicit relative imports 2020-10-10 11:37:47 +02:00
parser.py qapi: enforce import order/styling with isort 2020-10-10 11:37:47 +02:00
pylintrc qapi: add pylintrc 2020-10-10 11:37:47 +02:00
schema.py qapi/common.py: delint with pylint 2020-10-10 11:37:47 +02:00
source.py qapi: Inheriting from object is pointless with Python 3, drop 2020-03-05 09:24:11 +01:00
types.py qapi: Remove wildcard includes 2020-10-10 11:37:47 +02:00
visit.py qapi/common.py: Add indent manager 2020-10-10 11:37:47 +02:00