diff options
author | cpopa <devnull@localhost> | 2014-08-17 22:35:28 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-08-17 22:35:28 +0300 |
commit | 7c50e98ba61dc650e995eb0c106ba2487e6e359f (patch) | |
tree | 2a90fb6059f6c738637955bbbd05fe2b3c40d888 /ChangeLog | |
parent | 91af7c933718f518c819fd9eb9f3aa3dd967f43b (diff) | |
download | pylint-7c50e98ba61dc650e995eb0c106ba2487e6e359f.tar.gz |
Check that a class has an explicitly defined metaclass before emitting 'old-style-class' for Python 2.
This can catch metaclasses defined at module level, using `__metaclass__ = ...` syntax, which transforms all old style classes to newstyle.
Also, look for the .newstyle attribute instead of bases.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,9 @@ ChangeLog for Pylint * Detect calls of the parent's __init__, through a binded super() call. + * Check that a class has an explicitly defined metaclass before + emitting 'old-style-class' for Python 2. + 2014-07-26 -- 1.3.0 |