diff options
author | DudeNr33 <3929834+DudeNr33@users.noreply.github.com> | 2021-08-15 18:17:43 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-08-15 20:49:57 +0200 |
commit | cd8af0da8272c081872a3bb17a42d32a2bb7d453 (patch) | |
tree | 596b9301303423f48b68551c8384bfd0d25fbddb /doc | |
parent | 14c007593148b2c01ed1cfd67af6790e41fa6c76 (diff) | |
download | pylint-git-cd8af0da8272c081872a3bb17a42d32a2bb7d453.tar.gz |
Suppress ``consider-using-with`` on return statements
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.10.rst | 2 |
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. |