qemu-e2k/scripts/qapi
John Snow c51172667b qapi: enable strict-optional checks
In the modules that we are checking so far, we can be stricter about the
difference between Optional[T] and T types. Enable that check.

Enabling it now will assist review on further typing and cleanup work.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210201193747.2169670-17-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2021-02-08 14:15:58 +01:00
..
__init__.py
.flake8 qapi: delint using flake8 2020-10-10 11:37:47 +02:00
.isort.cfg
commands.py qapi: type 'info' as Optional[QAPISourceInfo] 2021-02-08 14:15:58 +01:00
common.py qapi/common.py: move build_params into gen.py 2020-10-10 11:37:48 +02:00
error.py
events.py qapi: type 'info' as Optional[QAPISourceInfo] 2021-02-08 14:15:58 +01:00
expr.py
gen.py qapi: type 'info' as Optional[QAPISourceInfo] 2021-02-08 14:15:58 +01:00
introspect.py
main.py qapi/main: handle theoretical None-return from re.match() 2021-02-08 14:15:58 +01:00
mypy.ini qapi: enable strict-optional checks 2021-02-08 14:15:58 +01:00
parser.py
pylintrc qapi/visit.py: remove unused parameters from gen_visit_object 2020-10-10 11:37:49 +02:00
schema.py qapi: centralize the built-in module name definition 2021-02-08 14:15:58 +01:00
source.py qapi/source.py: delint with pylint 2020-10-10 11:37:48 +02:00
types.py qapi: type 'info' as Optional[QAPISourceInfo] 2021-02-08 14:15:58 +01:00
visit.py qapi: type 'info' as Optional[QAPISourceInfo] 2021-02-08 14:15:58 +01:00