Skip to content

Commit b79e04d

Browse files
committed
Remove unused helper method.
1 parent 5e8aedd commit b79e04d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

pylint/checkers/typecheck.py

-11
Original file line numberDiff line numberDiff line change
@@ -1481,17 +1481,6 @@ def visit_call(self, node: nodes.Call) -> None:
14811481
# and count the positional arguments.
14821482
call_site = astroid.arguments.CallSite.from_call(node)
14831483

1484-
def _call_site_has_args(cs: arguments.CallSite) -> bool:
1485-
"""True if any args passed."""
1486-
has_args = (
1487-
False
1488-
or len(cs.positional_arguments) > 0
1489-
or len(cs.keyword_arguments.items()) > 0
1490-
# or cs.starargs is not None
1491-
# or cs.kwargs is not None
1492-
)
1493-
return has_args
1494-
14951484
if called.args.args is None:
14961485
if called.name == "isinstance":
14971486
# Verify whether second argument of isinstance is a valid type

0 commit comments

Comments
 (0)