pacify the pedants

This commit is contained in:
Manuel Barkhau 2021-07-19 16:09:25 +00:00
parent 1549e84aee
commit 9137e84bed

View file

@ -203,7 +203,7 @@ def _parse_cfg(cfg_buffer: typ.IO[str]) -> RawConfig:
if hasattr(cfg_parser, 'read_file'):
cfg_parser.read_file(cfg_buffer)
else:
cfg_parser.readfp(cfg_buffer) # python2 compat
cfg_parser.readfp(cfg_buffer) # pylint: disable=deprecated-method ; python2 compat
raw_cfg: RawConfig
if cfg_parser.has_section("pycalver"):