Skip to content

Commit

Permalink
Restore original spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jan 17, 2025
1 parent 0eaf22d commit e29a7c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pylint/checkers/typecheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -1453,9 +1453,10 @@ def visit_call(self, node: nodes.Call) -> None:
"""Check that called functions/methods are inferred to callable objects,
and that passed arguments match the parameters in the inferred function.
"""

called = safe_infer(node.func, compare_constructors=True)

self._check_not_callable(node, called)

try:
called, implicit_args, callable_name = _determine_callable(called)
except ValueError:
Expand Down

0 comments on commit e29a7c8

Please sign in to comment.