summaryrefslogtreecommitdiff
path: root/doc/whatsnew/2.0.rst
diff options
context:
space:
mode:
authorMarianna Polatoglou <mpolatoglou@bloomberg.net>2018-05-15 11:37:19 -0400
committerClaudiu Popa <pcmanticore@gmail.com>2018-05-15 14:55:01 -0400
commit04079a2a3fa6738c9391eff815e0a3323bca6316 (patch)
tree0e26a52061ad5e30ac676aac7b0392f5f9292c65 /doc/whatsnew/2.0.rst
parent5177b111c14c31d6e6c3cdf096484252ec670343 (diff)
downloadpylint-git-04079a2a3fa6738c9391eff815e0a3323bca6316.tar.gz
Update ChangeLog and whatsnew
Diffstat (limited to 'doc/whatsnew/2.0.rst')
-rw-r--r--doc/whatsnew/2.0.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/whatsnew/2.0.rst b/doc/whatsnew/2.0.rst
index 5ac72fec1..8780e5f86 100644
--- a/doc/whatsnew/2.0.rst
+++ b/doc/whatsnew/2.0.rst
@@ -123,9 +123,20 @@ New checkers
some_value = some_call()
return locals()
- * New `unhashable-dict-key` check added to detect dict lookups using
+* New `unhashable-dict-key` check added to detect dict lookups using
unhashable keys such as lists or dicts.
+* New `self-cls-assignment` warning check added.
+
+ This is warning if the first argument of an instance/ class method gets
+ assigned
+
+ .. code-block:: python
+
+ class Foo(object):
+ def foo(self, bar):
+ self = bar
+
Other Changes
=============