Skip to content

Commit ccf41fc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2fe2202 commit ccf41fc

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
@@ -1806,9 +1806,8 @@ def require_correct_self_argument(self, func: Type, defn: FuncDef) -> bool:
18061806
and has_constrained_typevar
18071807
)
18081808

1809-
if (
1810-
not skip_namedtuple_constrained_check
1811-
and not is_subtype(ref_type, erased, ignore_type_params=True)
1809+
if not skip_namedtuple_constrained_check and not is_subtype(
1810+
ref_type, erased, ignore_type_params=True
18121811
):
18131812
if (
18141813
isinstance(erased, Instance)

0 commit comments

Comments
 (0)