Skip to content

Commit e648db7

Browse files
committed
Less debug cruft.
1 parent 256bf41 commit e648db7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pylint/checkers/typecheck.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,6 +1455,9 @@ def visit_call(self, node: nodes.Call) -> None:
14551455
"""
14561456

14571457
def _dp(s, val=None):
1458+
if "Attribute.__init__ l.13" not in str(node):
1459+
# print("Not in init")
1460+
return
14581461
if val is None:
14591462
print(f" {s}", flush=True)
14601463
else:
@@ -1480,6 +1483,7 @@ def _dp(s, val=None):
14801483
_dp("f")
14811484
if called.args.args is None:
14821485
_dp("g")
1486+
_dp("called.name", called.name)
14831487
if called.name == "isinstance":
14841488
# Verify whether second argument of isinstance is a valid type
14851489
_dp("h")

0 commit comments

Comments
 (0)