Skip to content

Commit

Permalink
Use type annotations
Browse files Browse the repository at this point in the history
Flake8 explicitly dropped support for type comments:
PyCQA/pyflakes#684
  • Loading branch information
mgedmin committed Nov 26, 2022
1 parent d8e4204 commit 9ab779d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check_python_versions/parsers/ini.py
Expand Up @@ -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(' '):
Expand Down

0 comments on commit 9ab779d

Please sign in to comment.