mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
pacify the pedants
This commit is contained in:
parent
1549e84aee
commit
9137e84bed
1 changed files with 1 additions and 1 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue