Skip to content

Commit 14d15dd

Browse files
Update pylint/checkers/base.py
Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 171ccac commit 14d15dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2511,7 +2511,7 @@ def _check_callable_comparison(self, node):
25112511
left_operand, right_operand = node.left, node.ops[0][1]
25122512
# this message should be emitted only when there is comparison of bare callable
25132513
# with non bare callable.
2514-
number_of_bare_callables: int = 0
2514+
number_of_bare_callables = 0
25152515
for operand in left_operand, right_operand:
25162516
inferred = utils.safe_infer(operand)
25172517
if isinstance(inferred, bare_callables) and not any(

0 commit comments

Comments
 (0)