Skip to content

Commit 0aba6b8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 52e7a46 commit 0aba6b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypy/plugins/functools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ def handle_partial_with_callee(ctx: mypy.plugin.FunctionContext, callee: Type) -
213213
],
214214
ret_type=ret_type,
215215
variables=[
216-
tv for tv in fn_type.variables
216+
tv
217+
for tv in fn_type.variables
217218
# Keep TypeVarTuple/ParamSpec to avoid spurious errors on empty args.
218219
if tv.id in can_infer_ids or not isinstance(tv, TypeVarType)
219220
],

0 commit comments

Comments
 (0)