mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 00:03:35 +08:00
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>
This commit is contained in:
parent
4a82e468e7
commit
c51172667b
@ -1,6 +1,5 @@
|
||||
[mypy]
|
||||
strict = True
|
||||
strict_optional = False
|
||||
disallow_untyped_calls = False
|
||||
python_version = 3.6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user