summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDudeNr33 <3929834+DudeNr33@users.noreply.github.com>2021-08-15 18:17:43 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-15 20:49:57 +0200
commitcd8af0da8272c081872a3bb17a42d32a2bb7d453 (patch)
tree596b9301303423f48b68551c8384bfd0d25fbddb /doc
parent14c007593148b2c01ed1cfd67af6790e41fa6c76 (diff)
downloadpylint-git-cd8af0da8272c081872a3bb17a42d32a2bb7d453.tar.gz
Suppress ``consider-using-with`` on return statements
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/2.10.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/whatsnew/2.10.rst b/doc/whatsnew/2.10.rst
index e03e4d04a..7f2706de4 100644
--- a/doc/whatsnew/2.10.rst
+++ b/doc/whatsnew/2.10.rst
@@ -48,6 +48,8 @@ Other Changes
* Pyreverse - add output in PlantUML format
+* ``consider-using-with`` is no longer triggered if a context manager is returned from a function.
+
* pylint does not crash with a traceback anymore when a file is problematic. It
creates a template text file for opening an issue on the bug tracker instead.
The linting can go on for other non problematic files instead of being impossible.