From 1ac83855b38a8d053ec5d0403a5c0e6e8b191fbb Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Sun, 25 Nov 2018 18:28:22 +0100 Subject: Forgot to update the documentation as well --- doc/whatsnew/2.2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/whatsnew/2.2.rst b/doc/whatsnew/2.2.rst index 8812fc20c..b33d60945 100644 --- a/doc/whatsnew/2.2.rst +++ b/doc/whatsnew/2.2.rst @@ -3,7 +3,7 @@ ************************** :Release: 2.2 -:Date: TBA +:Date: 2018-11-25 Summary -- Release highlights ============================= @@ -38,7 +38,7 @@ Other Changes * Ignore import x.y.z as z cases for checker `useless-import-alias`. -* `unnecessary-pass` is now also emitted when a function or class contains only docstring and pass statement, +* `unnecessary-pass` is now also emitted when a function or class contains only docstring and pass statement, in which case, docstring is enough for empty definition. * Fix false positive ``undefined-variable`` and ``used-before-assignment`` with nonlocal keyword usage. -- cgit v1.2.1