qemu-e2k/scripts/qapi
Markus Armbruster 7b275cdd69 qapi: Fix a botched type annotation
Mypy is unhappy:

    $ mypy --config-file=scripts/qapi/mypy.ini `git-ls-files scripts/qapi/\*py`
    scripts/qapi/common.py:208: error: Function is missing a return type annotation
    scripts/qapi/common.py:227: error: Returning Any from function declared to return "str"

Messed up in commit ccea6a8637 "qapi: Factor common recursion out of
cgen_ifcond(), docgen_ifcond()".  Tidy up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-2-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-09-08 15:30:10 +02:00
..
__init__.py
.flake8
.isort.cfg
commands.py qapi: wrap Sequence[str] in an object 2021-08-26 13:53:56 +02:00
common.py qapi: Fix a botched type annotation 2021-09-08 15:30:10 +02:00
error.py
events.py qapi: wrap Sequence[str] in an object 2021-08-26 13:53:56 +02:00
expr.py qapi: Tweak error messages for unknown / conflicting 'if' keys 2021-09-03 17:09:10 +02:00
gen.py qapi: Simplify QAPISchemaIfCond's interface for generating C 2021-09-03 17:06:40 +02:00
introspect.py qapi: Simplify QAPISchemaIfCond's interface for generating C 2021-09-03 17:06:40 +02:00
main.py
mypy.ini
parser.py qapi/parser: add docstrings 2021-05-20 17:10:09 +02:00
pylintrc
schema.py qapi: Simplify how QAPISchemaIfCond represents "no condition" 2021-09-03 17:09:10 +02:00
source.py
types.py qapi: Simplify QAPISchemaIfCond's interface for generating C 2021-09-03 17:06:40 +02:00
visit.py qapi: Simplify QAPISchemaIfCond's interface for generating C 2021-09-03 17:06:40 +02:00