summary refs log tree commit diff stats
path: root/python/qemu/console_socket.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2020-10-27 17:38:05 +0100
committerKevin Wolf <kwolf@redhat.com>2020-11-03 16:24:56 +0100
commiteeb7314c46545a2426c39e2c00f03a0ab5f4f4f1 (patch)
treed92ba82f2b7783d8b4a3f12819c7d2ab09f2fc9b /python/qemu/console_socket.py
parent503c2b31b675c9fba2ff9711a79e55585304895a (diff)
downloadfocaccia-qemu-eeb7314c46545a2426c39e2c00f03a0ab5f4f4f1.tar.gz
focaccia-qemu-eeb7314c46545a2426c39e2c00f03a0ab5f4f4f1.zip
iotests: Disable unsubscriptable-object in pylint
When run with Python 3.9, pylint incorrectly warns about things like
Optional[foo] because it doesn't recognise Optional as unsubscriptable.
This is a known pylint bug:

    https://github.com/PyCQA/pylint/issues/3882

Just disable this check to get rid of the warnings.

Disabling this shouldn't make us miss any real bug because mypy also
has a similar check ("... is not indexable").

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201027163806.290960-3-kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python/qemu/console_socket.py')
0 files changed, 0 insertions, 0 deletions