diff options
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r-- | pylint/checkers/base.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index 74e26ac..224c8d6 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -1886,6 +1886,13 @@ class MultipleTypesChecker(BaseChecker): """Checks for variable type redefinitions (NoneType excepted) At a function, method, class or module scope + + This rule could be improved: + - Currently, if an attribute is set to different types in 2 methods of a + same class, it won't be detected (see functional test) + - One could improve the support for inference on assignment with tuples, + ifexpr, etc. Also it would be great to have support for inference on + str.split() """ __implements__ = IAstroidChecker |