diff options
author | jessebrennan <jesse@jesse.computer> | 2023-02-07 23:44:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 08:44:26 +0100 |
commit | 6a019eb56c2f27c336e485c7def3f55535e86702 (patch) | |
tree | ebc1c7036c869582b69f211248cd357aba089e3e /doc/development_guide | |
parent | 40f4247100f27eb3b9486894820cd1350155edea (diff) | |
download | pylint-git-6a019eb56c2f27c336e485c7def3f55535e86702.tar.gz |
Don't use deprecated attribute in example test (#8231)
Diffstat (limited to 'doc/development_guide')
-rw-r--r-- | doc/development_guide/how_tos/custom_checkers.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development_guide/how_tos/custom_checkers.rst b/doc/development_guide/how_tos/custom_checkers.rst index 0951f71f1..c7b1b64f8 100644 --- a/doc/development_guide/how_tos/custom_checkers.rst +++ b/doc/development_guide/how_tos/custom_checkers.rst @@ -167,7 +167,7 @@ Now we know how to use the astroid node, we can implement our check. return for other_return in self._function_stack[-1]: if node.value.value == other_return.value.value and not ( - self.config.ignore_ints and node.value.pytype() == int + self.linter.config.ignore_ints and node.value.pytype() == int ): self.add_message("non-unique-returns", node=node) |