summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-20 22:07:21 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-20 22:58:03 +0200
commitea448b8905c10bdd1935b33fd95524aa4e2e71d6 (patch)
tree40c67ad96cab6ea5b615bfd0174d05a1b6de0bba /doc
parent303654c81c040ca1c1d2103f1b8c7a428ef0da4f (diff)
downloadpylint-git-ea448b8905c10bdd1935b33fd95524aa4e2e71d6.tar.gz
Bump pylint to 2.10.0, update changelogv2.10.0
Diffstat (limited to 'doc')
-rw-r--r--doc/release.md2
-rw-r--r--doc/whatsnew/2.10.rst48
2 files changed, 33 insertions, 17 deletions
diff --git a/doc/release.md b/doc/release.md
index 462c9512a..0854464af 100644
--- a/doc/release.md
+++ b/doc/release.md
@@ -46,7 +46,7 @@ issue labelled as blocker.
- Close milestone `X.Y.Z`
- Create the milestones for `X.Y.Z+1`, (or `X.Y+1.0`, and `X+1.0.0` if applicable)
-#### Whatsnew
+#### What's new
If it's a minor release, create a new `What's new in Pylint X.Y+1` document. Add it to
`doc/index.rst`. Take a look at the examples from `doc/whatsnew`.
diff --git a/doc/whatsnew/2.10.rst b/doc/whatsnew/2.10.rst
index becc9be44..85cba1c3f 100644
--- a/doc/whatsnew/2.10.rst
+++ b/doc/whatsnew/2.10.rst
@@ -3,11 +3,28 @@
***************************
:Release: 2.10
-:Date: TBA
+:Date: 2021-08-20
Summary -- Release highlights
=============================
+In 2.10, we added several new default check, like ``unspecified-encoding``, ``forgotten-debug-statement`` or
+``use-dict-literal``. There's also a few opinionated optional one. You can now forbid while loop or
+profess your exclusive love of ternary expressions publicly. We promise you hours of arguing fun with
+your whole team if you add those to your configuration.
+
+We've also fixed some long standing bugs, false positives, or missing options like ``ignore-signature`` that
+will now work on inner function's signatures.
+
+A new option to disable the next line, ``disable-next``, has been added. It's also possible to export
+colored diagrams, and plantuml diagram using pyreverse. ``PYLINT_HOME`` is now ``XDG_CACHE_HOME`` if not set.
+
+The performance of the similarity checker has been improved, as well as several small performance fixes.
+
+We're going to continue working on improving performance during 2.11. We're also going to finalize
+a new ``possible-forgotten-f-prefix`` check that had too much false positives at release time. Check
+https://github.com/PyCQA/pylint/pull/4787 if you want to provide knowledge or use case :)
+
New checkers
============
@@ -24,20 +41,20 @@ New checkers
Closes #4365
-* Added optional extension ``consider-ternary-expression``: Emitted whenever a variable is assigned in both branches of an if/else block.
+* Added ``forgotten-debug-statement``: Emitted when ``breakpoint``, ``pdb.set_trace`` or ``sys.breakpointhook`` calls are found
- Closes # 4366
+ Closes #3692
-* Added optional extension ``while-used``: Emitted whenever a ``while`` loop is used.
+* Added ``use-sequence-for-iteration``: Emitted when iterating over an in-place defined ``set``.
- Closes # 4367
-* Added ``forgotten-debug-statement``: Emitted when ``breakpoint``, ``pdb.set_trace`` or ``sys.breakpointhook`` calls are found
+* Added ``format-string-without-interpolation`` checker: Emitted when formatting is applied to a string without any variables to be replaced
- Closes #3692
+ Closes #4042
-* Added ``use-sequence-for-iteration``: Emitted when iterating over an in-place defined ``set``.
+* Added ``redundant-u-string-prefix`` checker: Emitted when the u prefix is added to a string
+ Closes #4102
Extensions
==========
@@ -48,6 +65,13 @@ Extensions
* Emit ``consider-using-tuple`` even if list contains a ``starred`` expression.
+* Added optional extension ``consider-ternary-expression``: Emitted whenever a variable is assigned in both branches of an if/else block.
+
+ Closes # 4366
+
+* Added optional extension ``while-used``: Emitted whenever a ``while`` loop is used.
+
+ Closes # 4367
Other Changes
=============
@@ -97,14 +121,6 @@ Other Changes
Closes #1682
-* Added ``format-string-without-interpolation`` checker: Emitted when formatting is applied to a string without any variables to be replaced
-
- Closes #4042
-
-* Added ``redundant-u-string-prefix`` checker: Emitted when the u prefix is added to a string
-
- Closes #4102
-
* Fixed ``cell-var-from-loop`` checker: handle cell variables in comprehensions within functions,
and function default argument expressions. Also handle basic variable shadowing.