diff options
-rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 6 | ||||
-rw-r--r-- | CONTRIBUTORS.txt | 10 | ||||
-rw-r--r-- | doc/development_guide/contributor_guide/contribute.rst | 11 | ||||
-rw-r--r-- | doc/whatsnew/2/2.14/full.rst | 8 | ||||
-rw-r--r-- | doc/whatsnew/2/2.15/index.rst | 44 | ||||
-rw-r--r-- | doc/whatsnew/2/index.rst | 1 | ||||
-rw-r--r-- | examples/pylintrc | 3 | ||||
-rw-r--r-- | examples/pyproject.toml | 3 | ||||
-rw-r--r-- | pylint/__pkginfo__.py | 2 | ||||
-rw-r--r-- | tbump.toml | 2 |
10 files changed, 69 insertions, 21 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 2163a1719..90a6b12c3 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -4,8 +4,10 @@ Thank you for submitting a PR to pylint! To ease the process of reviewing your PR, do make sure to complete the following boxes. - [ ] Write a good description on what the PR does. -- [ ] If it's a new feature, or an important bug fix, add a What's New entry in - ``doc/whatsnew/2/2.14/summary.rst`` otherwise in ``doc/whatsnew/2/2.14/full.rst``. +- [ ] Add an entry to the change log describing the change in + `doc/whatsnew/2/2.15/index.rst` (or ``doc/whatsnew/2/2.14/full.rst`` + if the change needs backporting in 2.14). If necessary you can write + details or offer examples on how the new change is supposed to work. - [ ] If you used multiple emails or multiple names when contributing, add your mails and preferred name in ``script/.contributors_aliases.json`` --> diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index e6c484010..a84d5b5da 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -19,6 +19,7 @@ Maintainers - Marc Mueller <30130371+cdce8p@users.noreply.github.com> - Hippo91 <guillaume.peillex@gmail.com> - Jacob Walls <jacobtylerwalls@gmail.com> +- Matus Valo <matusvalo@users.noreply.github.com> - Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> - Łukasz Rogalski <rogalski.91@gmail.com> - Ashley Whetter <ashley@awhetter.co.uk> @@ -50,7 +51,7 @@ contributors: * wrong-spelling-in-comment * wrong-spelling-in-docstring * parallel execution on multiple CPUs -- Matus Valo <matusvalo@users.noreply.github.com> +- Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> - Bruno Daniel <bruno.daniel@blue-yonder.com>: check_docs extension. - Sushobhit <31987769+sushobhit27@users.noreply.github.com> (sushobhit27) * Added new check 'comparison-with-itself'. @@ -76,7 +77,6 @@ contributors: * redefined-variable-type - Alexandre Fayolle <alexandre.fayolle@logilab.fr> (Logilab): TkInter gui, documentation, debian support - Nick Drozd <nicholasdrozd@gmail.com>: performance improvements to astroid -- Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> - Julien Cristau <julien.cristau@logilab.fr> (Logilab): python 3 support - Adrien Di Mascio <Adrien.DiMascio@logilab.fr> - Frank Harrison <frank@doublethefish.com> (doublethefish) @@ -96,10 +96,10 @@ contributors: - Cezar Elnazli <cezar.elnazli2@gmail.com>: deprecated-method - Joseph Young <80432516+jpy-git@users.noreply.github.com> (jpy-git) - Nicolas Chauvat <nicolas.chauvat@logilab.fr> +- Tim Martin <tim@asymptotic.co.uk> - Radu Ciorba <radu@devrandom.ro>: not-context-manager and confusing-with-statement warnings. - Holger Peters <email@holger-peters.de> - Cosmin Poieană <cmin@ropython.org>: unichr-builtin and improvements to bad-open-mode. -- Tim Martin <tim@asymptotic.co.uk> - Steven Myint <hg@stevenmyint.com>: duplicate-except. - Peter Kolbus <peter.kolbus@gmail.com> (Garmin) - Luigi Bertaco Cristofolini <lucristofolini@gmail.com> (luigibertaco) @@ -160,6 +160,7 @@ contributors: - Takahide Nojima <nozzy123nozzy@gmail.com> - Taewon D. Kim <kimt33@mcmaster.ca> - Sneaky Pete <sneakypete81@gmail.com> +- Sergey B Kirpichev <skirpichev@gmail.com> - Rene Zhang <rz99@cornell.edu> - Or Bahari <or.ba402@gmail.com> - Mr. Senko <atodorov@mrsenko.com> @@ -186,7 +187,6 @@ contributors: - chohner <mail@chohner.com> - Tiago Honorato <61059243+tiagohonorato@users.noreply.github.com> - Steven M. Vascellaro <svascellaro@gmail.com> -- Sergey B Kirpichev <skirpichev@gmail.com> - Roberto Leinardi <leinardi@gmail.com>: PyCharm plugin maintainer - Ricardo Gemignani <ricardo.gemignani@gmail.com> - Pieter Engelbrecht <pengelbrecht@rems2.com> @@ -290,6 +290,7 @@ contributors: - pyves@crater.logilab.fr <pyves@crater.logilab.fr> - paschich <millen@gridium.com> - oittaa <8972248+oittaa@users.noreply.github.com> +- nyabkun <75878387+nyabkun@users.noreply.github.com> - moxian <aleftmail@inbox.ru> - mar-chi-pan <mar.polatoglou@gmail.com> - ludal@logilab.fr <ludal@logilab.fr> @@ -460,6 +461,7 @@ contributors: - Emmanuel Chaudron <manu.chaud@hotmail.fr> - Elizabeth Bott <52465744+elizabethbott@users.noreply.github.com> - Eisuke Kawashima <e-kwsm@users.noreply.github.com> (e-kwsm) +- Edward K. Ream <edreamleo@gmail.com> - Edgemaster <grand.edgemaster@gmail.com> - Drew Risinger <drewrisinger@users.noreply.github.com> - Dr. Nick <das-intensity@users.noreply.github.com> diff --git a/doc/development_guide/contributor_guide/contribute.rst b/doc/development_guide/contributor_guide/contribute.rst index 6a22c106b..9dcfd8d94 100644 --- a/doc/development_guide/contributor_guide/contribute.rst +++ b/doc/development_guide/contributor_guide/contribute.rst @@ -13,14 +13,9 @@ your patch gets accepted: you access to the latest ``ast`` parser. - Install the dev dependencies, see :ref:`contributor_install`. - Use our test suite and write new tests, see :ref:`contributor_testing`. - -- Add a short entry to the change log describing the change, except for internal - implementation only changes. - -- Not usually required, but for changes other than small bugs we also add a couple - of sentences in the release document for that release, (:file:`doc/whatsnew/VERSION.rst`, - `What's New` section). For the release document we usually write some more details, - and it is also a good place to offer examples on how the new change is supposed to work. +- Add an entry to the change log describing the change in `doc/whatsnew/2/2.15/index.rst` + (or ``doc/whatsnew/2/2.14/full.rst`` if the change needs backporting in 2.14). + If necessary you can write details or offer examples on how the new change is supposed to work. - Document your change, if it is a non-trivial one. diff --git a/doc/whatsnew/2/2.14/full.rst b/doc/whatsnew/2/2.14/full.rst index ad2335afd..879097358 100644 --- a/doc/whatsnew/2/2.14/full.rst +++ b/doc/whatsnew/2/2.14/full.rst @@ -1,11 +1,17 @@ Full changelog ============== -What's New in Pylint 2.14.0? +What's New in Pylint 2.14.1? ---------------------------- Release date: TBA + +What's New in Pylint 2.14.0? +---------------------------- +Release date: 2022-06-01 + + * The refactoring checker now also raises 'consider-using-generator' messages for ``max()``, ``min()`` and ``sum()``. diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst new file mode 100644 index 000000000..519232b22 --- /dev/null +++ b/doc/whatsnew/2/2.15/index.rst @@ -0,0 +1,44 @@ +*************************** + What's New in Pylint 2.15 +*************************** + +.. toctree:: + :maxdepth: 2 + +:Release: 2.15 +:Date: TBA + +Summary -- Release highlights +============================= + + +New checkers +============ + + +Removed checkers +================ + + +Extensions +========== + + +False positives fixed +===================== + + +False negatives fixed +===================== + + +Other bug fixes +=============== + + +Other Changes +============= + + +Internal changes +================ diff --git a/doc/whatsnew/2/index.rst b/doc/whatsnew/2/index.rst index cb6dc57fe..4c1e938b3 100644 --- a/doc/whatsnew/2/index.rst +++ b/doc/whatsnew/2/index.rst @@ -7,6 +7,7 @@ .. toctree:: :maxdepth: 2 + 2.15/index 2.14/index 2.13/index 2.12/index diff --git a/examples/pylintrc b/examples/pylintrc index 8a1661072..5146b9941 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -277,8 +277,7 @@ signature-mutators= [EXCEPTIONS] -# Exceptions that will emit a warning when being caught. Defaults to -# "BaseException, Exception". +# Exceptions that will emit a warning when caught. overgeneral-exceptions=BaseException, Exception diff --git a/examples/pyproject.toml b/examples/pyproject.toml index 690f0c0a6..138907a68 100644 --- a/examples/pyproject.toml +++ b/examples/pyproject.toml @@ -259,8 +259,7 @@ max-statements = 50 min-public-methods = 2 [tool.pylint.exceptions] -# Exceptions that will emit a warning when being caught. Defaults to -# "BaseException, Exception". +# Exceptions that will emit a warning when caught. overgeneral-exceptions = ["BaseException", "Exception"] [tool.pylint.format] diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 72e66b3fa..858b61b49 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ It's updated via tbump, do not modify. from __future__ import annotations -__version__ = "2.14.0-b1" +__version__ = "2.14.0" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index b90445975..2ae96a798 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.14.0-b1" +current = "2.14.0" regex = ''' ^(?P<major>0|[1-9]\d*) \. |