From 9137e84bedf020e06639fad1ad4dfa4bb2772fde Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Mon, 19 Jul 2021 16:09:25 +0000 Subject: [PATCH] pacify the pedants --- src/bumpver/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bumpver/config.py b/src/bumpver/config.py index 7640ce7..4c53089 100644 --- a/src/bumpver/config.py +++ b/src/bumpver/config.py @@ -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"):