python: add mypy config
Formalize the options used for checking the python library. You can run mypy from the directory that mypy.ini is in by typing `mypy qemu/`. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20201009175123.249009-2-jsnow@redhat.com [Edit: Added newline; thanks Bin Meng --js] Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
d2b08b79b0
commit
c3a404d3be
4
python/mypy.ini
Normal file
4
python/mypy.ini
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[mypy]
|
||||||
|
strict = True
|
||||||
|
python_version = 3.6
|
||||||
|
warn_unused_configs = True
|
Loading…
Reference in New Issue
Block a user