]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/pylint: Add exception for TypeVar names ('T')
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Sep 2021 16:29:31 +0000 (12:29 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Sep 2021 16:10:29 +0000 (12:10 -0400)
commit35b9a85adea9f771ca2279ebf7666b243e92f968
tree265a3b9014acc52f30aa5f6848190f7faa21f44e
parentfbfb6a37a34fc08f4ff0e5e1e5aab63650af5ed4
python/pylint: Add exception for TypeVar names ('T')

'T' is a common TypeVar name, allow its use.

See also https://github.com/PyCQA/pylint/issues/3401 -- In the future,
we might be able to have a separate list of acceptable names for
TypeVars exclusively.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210915162955.333025-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/setup.cfg