diff options
author | ssolanki <sushobhitsolanki@gmail.com> | 2018-06-20 21:25:06 +0530 |
---|---|---|
committer | ssolanki <sushobhitsolanki@gmail.com> | 2018-06-21 11:17:27 +0530 |
commit | 5673ffe2d83282e79d958b9bd84f47245a201127 (patch) | |
tree | af68c275a8a2faf274e9b63f87913098176e7faa /pylint/checkers/classes.py | |
parent | 5d32878d01db8e46a98f8473a4b9725f388425ca (diff) | |
download | pylint-git-5673ffe2d83282e79d958b9bd84f47245a201127.tar.gz |
adapt existing test cases for useless-object-inheritance.
adapt existing test/input test cases to new check.
add some more positive test case for useless-object-inheritance
msg code was in conflict with existing msg.
adapt existing test cases for new checker.
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r-- | pylint/checkers/classes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index e7f920880..e8e2675bb 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -538,7 +538,7 @@ MSGS = { 'single-string-used-for-slots', 'Used when a class __slots__ is a simple string, rather ' 'than an iterable.'), - 'R0204': ('Class %r inherits from object, can be safely removed from bases in python3', + 'R0205': ('Class %r inherits from object, can be safely removed from bases in python3', 'useless-object-inheritance', 'Used when a class inherit from object, which under python3 is implicit, ' 'hence can be safely removed from bases.') |