summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorssolanki <sushobhitsolanki@gmail.com>2018-08-02 13:08:09 +0530
committerSushobhit <31987769+sushobhit27@users.noreply.github.com>2018-08-09 12:43:04 +0530
commitd7580c648c8fe688fad16cf76126c07e4871f4d7 (patch)
tree8a9f1ef88129de1182cdb2c00148a5313e81d3f1 /ChangeLog
parent7a304df6579cb3ad996ae30b70feaa73448fdb25 (diff)
downloadpylint-git-d7580c648c8fe688fad16cf76126c07e4871f4d7.tar.gz
adapt existing test cases with new condition for unnecessary-pass
fix lint issues fix existing test case modify changeLog
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 9 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 928458e54..c0f2840a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,15 @@ What's New in Pylint 2.2?
Release date: TBA
- * Stop ``protected-access`` exception for missing class attributes
+ * Stop ``protected-access`` exception for missing class attributes
+
+ * `unnecessary-pass` is now also emitted when a function or class contains only docstring and pass statement.
+
+ In Python, stubbed functions often have a body that contains just a single `pass` statement,
+ indicating that the function doesn't do anything. However, a stubbed function can also have just a
+ docstring, and function with a docstring and no body also does nothing.
+
+ Close #2208
What's New in Pylint 2.1.1?
@@ -28,14 +36,6 @@ What's New in Pylint 2.1?
=========================
Release date: 2018-08-01
- * `unnecessary-pass` is now also emitted when a function or class contains only docstring and pass statement.
-
- In Python, stubbed functions often have a body that contains just a single `pass` statement,
- indicating that the function doesn't do anything. However, a stubbed function can also have just a
- docstring, and function with a docstring and no body also does nothing.
-
- Close #2208
-
* `trailing-comma-tuple` gets emitted for ``yield`` statements as well.
Close #2363