mypy: Add comment on ConfigParser.readfp 'type: ignore'.
readfp remains valid but is deprecated, so is not in the python3 stubs.
MODIFY
zulip_bots/zulip_bots/lib.py
zulip_bots/zulip_bots/lib.py
@@ -125,7 +125,7 @@ class ExternalBotHandler(object):
config = configparser.ConfigParser()
try:
with open(conf_file_path) as conf:
- config.readfp(conf) # type: ignore
+ config.readfp(conf) # type: ignore # readfp->read_file in python 3, so not in stubs
except IOError:
if optional:
return dict()

mypy: Add comment on ConfigParser.readfp 'type: ignore'.

readfp remains valid but is deprecated, so is not in the python3 stubs.