Home
last modified time | relevance | path

Searched hist:eeb7314c (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/
H A Dpylintrceeb7314c Tue Oct 27 11:38:05 CDT 2020 Kevin Wolf <kwolf@redhat.com> 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>