diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-02-13 10:41:38 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-02-13 10:41:38 +0100 |
commit | fa52e7da184435ed2c472a86f854e386594ae99a (patch) | |
tree | 6606cf07f36e1da393e8dbd86ed3ebf838aba8a0 | |
parent | 11403e0a3998eae1b27176ece815aac3af6b38cb (diff) | |
download | pylint-git-fa52e7da184435ed2c472a86f854e386594ae99a.tar.gz |
Add the initial release log for 2.3
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/whatsnew/2.3.rst | 64 |
2 files changed, 67 insertions, 3 deletions
@@ -111,11 +111,11 @@ Release date: TBA Previous version incorrectly detects `a < b < c and b < d` and fails to detect `a < b < c and c < d`. - * Avoid popping __main__ when using multiple jobs +* Avoid popping __main__ when using multiple jobs - Close #2689 + Close #2689 - * Add a new option 'check-str-concat-over-line-jumps' to check 'implicit-str-concat-in-sequence' +* Add a new option 'check-str-concat-over-line-jumps' to check 'implicit-str-concat-in-sequence' * Fixes for the new style logging format linter. diff --git a/doc/whatsnew/2.3.rst b/doc/whatsnew/2.3.rst new file mode 100644 index 000000000..f60b74cfc --- /dev/null +++ b/doc/whatsnew/2.3.rst @@ -0,0 +1,64 @@ +************************** + What's New in Pylint 2.2 +************************** + +:Release: 2.3 +:Date: |TBA| + + +Summary -- Release highlights +============================= + +* This release improves the performance of the 2.X series after it was affected by a +performance regression a couple of releases ago. + +New checkers +============ + + +* We added a new check message ``wrong-exception-operation``. + This is emitted when an operation is done against an exception, but the operation + is not valid for the exception in question. Usually emitted when having + binary operations between exceptions in except handlers. + + Closes #2494 + +* We added a new ``no-else-raise`` warning similar to ``no-else-return`` + + Closes #2558 + + +* We added a new option ``check-str-concat-over-line-jumps`` to check + ``implicit-str-concat-in-sequence`` over multiple lines. + + +Other Changes +============= + +Quite a lot of bug fixes and improvements went into this release: + +* We no longer emit ``*-not-iterating`` checks for builtins consumed by ``itertools`` + +* We fixed some false positives for ``no-self-argument`` and ``unsubscriptable-object`` + when using ``__class_getitem__`` (new in Python 3.7) + +* ``pylint`` now upports ``Ellipsis`` as a synonym for ``pass`` statements. + +* ``fixme`` gets triggered only on comments. + +* ``pylint`` exempts starred unpacking from ``*-not-iterating`` Python 3 checks. + +* ``compare-to-zero`` is now less zealous by checking against equality and identity. + +*``yield from`` is exempted from ``*-not-iterating`` Python 3 checks. + +* A false positive with ``not-async-context-manager`` caused by not understanding + ``contextlib.asynccontextmanager`` was fixed. + +* We refactored ``bad-reversed-sequence`` to account for more objects that can define ``__reversed__``. + +* ``no-member`` is now emitted for enums when they lack a member. + +* Plugins can now use the ``load_configuration()`` hook. + This hook is executed after configuration is loaded to prevent overwriting plugin + specific configuration via user-based configuration. |