Skip to content

Commit 2110701

Browse files
Fix lint issues
1 parent 8020024 commit 2110701

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mypy/fastparse2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from mypy.errors import Errors
5050
from mypy.fastparse import (
5151
TypeConverter, parse_type_comment, parse_type_ignore_tag,
52-
TYPE_IGNORE_PATTERN, INVALID_TYPE_IGNORE
52+
TYPE_IGNORE_PATTERN
5353
)
5454
from mypy.options import Options
5555
from mypy.util import bytes_to_human_readable_repr

mypy/nodes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3409,8 +3409,9 @@ def check_arg_kinds(
34093409
is_kw_arg = True
34103410

34113411

3412-
def check_arg_names(names: Sequence[Optional[str]], nodes: List[T], fail: Callable[[ErrorMessage, T], None],
3413-
description: str = 'function definition') -> None:
3412+
def check_arg_names(
3413+
names: Sequence[Optional[str]], nodes: List[T], fail: Callable[[ErrorMessage, T], None],
3414+
description: str = 'function definition') -> None:
34143415
seen_names: Set[Optional[str]] = set()
34153416
for name, node in zip(names, nodes):
34163417
if name is not None and name in seen_names:

0 commit comments

Comments
 (0)