We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e8aedd commit b79e04dCopy full SHA for b79e04d
pylint/checkers/typecheck.py
@@ -1481,17 +1481,6 @@ def visit_call(self, node: nodes.Call) -> None:
1481
# and count the positional arguments.
1482
call_site = astroid.arguments.CallSite.from_call(node)
1483
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
-
1495
if called.args.args is None:
1496
if called.name == "isinstance":
1497
# Verify whether second argument of isinstance is a valid type
0 commit comments