diff --git a/src/check_python_versions/parsers/ini.py b/src/check_python_versions/parsers/ini.py index 508fe8a..0c8012b 100644 --- a/src/check_python_versions/parsers/ini.py +++ b/src/check_python_versions/parsers/ini.py @@ -55,7 +55,7 @@ def update_ini_setting( end = start + 1 comments = [] - pending_comments = [] # type: List[str] + pending_comments: List[str] = [] indent = ' ' for n, line in lines: if line.startswith(' '):