diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-06 18:41:34 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-06 18:41:34 +0200 |
commit | b7f934de0d5ded5a120685d92ae07c2eb54b9ff1 (patch) | |
tree | d5ae59bdcf3d8099f907fe854c9ee315bdfa9281 /ChangeLog | |
parent | b700c2f8a0e6b8d61c3abea8d41438f66cd55025 (diff) | |
download | pylint-b7f934de0d5ded5a120685d92ae07c2eb54b9ff1.tar.gz |
Added a new error, 'relative-beyond-top-level'.
This is emitted when a relative import was attempted beyond the top level package.
For instance, if a package has X levels, trying to climb X + n levels with a relative
import, as in `from ..stuff import Stuff`, will result in an error.
Closes issue #588.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -2,10 +2,16 @@ ChangeLog for Pylint -------------------- -- - * Accept only functions and methods for the deprecated-method checker. + + * Added a new error, 'relative-beyond-top-level', which is emitted + when a relative import was attempted beyond the top level package. - This prevents a crash which can occur when an object doesn't have - .qname() method after the inference. + Closes issue #588. + + * Accept only functions and methods for the deprecated-method checker. + + This prevents a crash which can occur when an object doesn't have + .qname() method after the inference. * Don't emit super-on-old-class on classes with unknown bases. Closes issue #721. |