diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-03 13:32:05 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-03 13:32:05 +0100 |
commit | 30a37b1150a2b7dd4b204b1263c2151cefb27ce6 (patch) | |
tree | cd90de852ff39d772d9e031bf2cc4dd307a530a9 /pylint/checkers/classes.py | |
parent | 097227b612d3bac2bed5528b72ccea4309ff5c32 (diff) | |
download | pylint-git-30a37b1150a2b7dd4b204b1263c2151cefb27ce6.tar.gz |
Add missing check_messages() for visit_classdef in classes checks
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r-- | pylint/checkers/classes.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index de255fe6a..273cc47d1 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -728,6 +728,18 @@ a metaclass class method.", def _ignore_mixin(self): return get_global_option(self, "ignore-mixin-members", default=True) + @check_messages( + "abstract-method", + "no-init", + "invalid-slots", + "single-string-used-for-slots", + "invalid-slots-object", + "class-variable-slots-conflict", + "inherit-non-class", + "useless-object-inheritance", + "inconsistent-mro", + "duplicate-bases", + ) def visit_classdef(self, node): """init visit variable _accessed """ |