[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 18/27] python/pylint: disable no-member check
From: |
John Snow |
Subject: |
[PATCH v4 18/27] python/pylint: disable no-member check |
Date: |
Wed, 15 Sep 2021 12:29:46 -0400 |
mypy handles this better -- but we only need the workaround because
pylint under Python 3.6 does not understand that a MutableMapping really
does have a .get() method attached.
We could remove this again once 3.7 is our minimum.
Signed-off-by: John Snow <jsnow@redhat.com>
---
python/setup.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/setup.cfg b/python/setup.cfg
index 5af35d0aa3..9d35024e48 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -89,6 +89,7 @@ ignore_missing_imports = True
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=too-many-function-args, # mypy handles this with less false positives.
+ no-member, # mypy also handles this better.
[pylint.basic]
# Good variable names which should always be accepted, separated by a comma.
--
2.31.1
- [PATCH v4 10/27] python/aqmp: add configurable read buffer limit, (continued)
- [PATCH v4 10/27] python/aqmp: add configurable read buffer limit, John Snow, 2021/09/15
- [PATCH v4 11/27] python/aqmp: add _cb_inbound and _cb_outbound logging hooks, John Snow, 2021/09/15
- [PATCH v4 12/27] python/aqmp: add AsyncProtocol._readline() method, John Snow, 2021/09/15
- [PATCH v4 13/27] python/aqmp: add QMP Message format, John Snow, 2021/09/15
- [PATCH v4 14/27] python/aqmp: add well-known QMP object models, John Snow, 2021/09/15
- [PATCH v4 16/27] python/pylint: disable too-many-function-args, John Snow, 2021/09/15
- [PATCH v4 17/27] python/aqmp: add QMP protocol support, John Snow, 2021/09/15
- [PATCH v4 19/27] python/aqmp: Add message routing to QMP protocol, John Snow, 2021/09/15
- [PATCH v4 20/27] python/aqmp: add execute() interfaces, John Snow, 2021/09/15
- [PATCH v4 15/27] python/aqmp: add QMP event support, John Snow, 2021/09/15
- [PATCH v4 18/27] python/pylint: disable no-member check,
John Snow <=
- [PATCH v4 21/27] python/aqmp: add _raw() execution interface, John Snow, 2021/09/15
- [PATCH v4 23/27] python/aqmp: add scary message, John Snow, 2021/09/15
- [PATCH v4 22/27] python/aqmp: add asyncio_run compatibility wrapper, John Snow, 2021/09/15
- [PATCH v4 26/27] python/aqmp: add LineProtocol tests, John Snow, 2021/09/15
- [PATCH v4 27/27] python/aqmp: Add Coverage.py support, John Snow, 2021/09/15
- [PATCH v4 24/27] python: bump avocado to v90.0, John Snow, 2021/09/15
- [PATCH v4 25/27] python/aqmp: add AsyncProtocol unit tests, John Snow, 2021/09/15
- Re: [PATCH v4 00/27] python: introduce Asynchronous QMP package, John Snow, 2021/09/20