Skip to content

Commit 6a019eb

Browse files
authored
Don't use deprecated attribute in example test (#8231)
1 parent 40f4247 commit 6a019eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/development_guide/how_tos/custom_checkers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Now we know how to use the astroid node, we can implement our check.
167167
return
168168
for other_return in self._function_stack[-1]:
169169
if node.value.value == other_return.value.value and not (
170-
self.config.ignore_ints and node.value.pytype() == int
170+
self.linter.config.ignore_ints and node.value.pytype() == int
171171
):
172172
self.add_message("non-unique-returns", node=node)
173173

0 commit comments

Comments
 (0)