Skip to content

Commit 102c263

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 613358a commit 102c263

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

mypy/checker.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,9 +1799,8 @@ def require_correct_self_argument(self, func: Type, defn: FuncDef) -> bool:
17991799
and has_constrained_typevar
18001800
)
18011801

1802-
if (
1803-
not skip_namedtuple_constrained_check
1804-
and not is_subtype(ref_type, erased, ignore_type_params=True)
1802+
if not skip_namedtuple_constrained_check and not is_subtype(
1803+
ref_type, erased, ignore_type_params=True
18051804
):
18061805
if (
18071806
isinstance(erased, Instance)

0 commit comments

Comments
 (0)