summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-05-10 12:32:38 +0200
committerGitHub <noreply@github.com>2022-05-10 12:32:38 +0200
commit2dfff17ec794c9cc08eef19b288398e67bdcb239 (patch)
treeadb49e1ce92452456191933aa289ff72db56cbc3
parent7c915217b0513b34c179c409cff983352f685bf5 (diff)
downloadpylint-git-2.14.0-b1.tar.gz
Bump pylint to 2.14.0-b0, update changelog (#6527)v2.14.0-b1
Update contributors and create release summary
-rw-r--r--CONTRIBUTORS.txt28
-rw-r--r--ChangeLog1
-rw-r--r--doc/messages/messages_list.rst5
-rw-r--r--doc/whatsnew/2.14.rst200
-rw-r--r--examples/pyproject.toml2
-rw-r--r--pylint/__pkginfo__.py2
-rw-r--r--requirements_test.txt1
-rw-r--r--script/.contributors_aliases.json12
-rw-r--r--tbump.toml2
9 files changed, 150 insertions, 103 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 81f97daf5..e6c484010 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -19,10 +19,10 @@ Maintainers
- Marc Mueller <30130371+cdce8p@users.noreply.github.com>
- Hippo91 <guillaume.peillex@gmail.com>
- Jacob Walls <jacobtylerwalls@gmail.com>
+- Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
- Łukasz Rogalski <rogalski.91@gmail.com>
- Ashley Whetter <ashley@awhetter.co.uk>
- Bryce Guinta <bryce.paul.guinta@gmail.com>
-- Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
- Yu Shao, Pang <36848472+yushao2@users.noreply.github.com>
- Dimitri Prybysh <dmand@yandex.ru>
* multiple-imports, not-iterable, not-a-mapping, various patches.
@@ -50,6 +50,7 @@ contributors:
* wrong-spelling-in-comment
* wrong-spelling-in-docstring
* parallel execution on multiple CPUs
+- Matus Valo <matusvalo@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'.
@@ -75,6 +76,7 @@ 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)
@@ -87,16 +89,17 @@ contributors:
* Fix consider-using-ternary for 'True and True and True or True' case
* Add bad-docstring-quotes and docstring-first-line-empty
- Ville Skyttä <ville.skytta@iki.fi>
-- Matus Valo <matusvalo@users.noreply.github.com>
- Pierre-Yves David <pierre-yves.david@logilab.fr>
- David Shea <dshea@redhat.com>: invalid sequence and slice index
-- Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
+- Gunung P. Wibisono <55311527+gunungpw@users.noreply.github.com>
- Derek Gustafson <degustaf@gmail.com>
- 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>
- 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)
@@ -104,6 +107,7 @@ contributors:
* autogenerated documentation for optional extensions,
* bug fixes and enhancements for docparams (née check_docs) extension
- Vlad Temian <vladtemian@gmail.com>: redundant-unittest-assert and the JSON reporter.
+- Tushar Sadhwani <tushar.sadhwani000@gmail.com> (tusharsadhwani)
- Julien Jehannet <julien.jehannet@logilab.fr>
- Boris Feld <lothiraldan@gmail.com>
- Anthony Sottile <asottile@umich.edu>
@@ -115,14 +119,13 @@ contributors:
* Added new check `logging-fstring-interpolation`
* Documentation typo fixes
- Jakub Wilk <jwilk@jwilk.net>
+- Eli Fine <ejfine@gmail.com> (eli88fine): Fixed false positive duplicate code warning for lines with symbols only
+- Andrew Haigh <nelfin@gmail.com> (nelfin)
- Émile Crater <emile@crater.logilab.fr>
+- orSolocate <38433858+orSolocate@users.noreply.github.com>
- Pavel Roskin <proski@gnu.org>
-- Eli Fine <ejfine@gmail.com> (eli88fine): Fixed false positive duplicate code warning for lines with symbols only
- David Gilman <davidgilman1@gmail.com>
-- Andrew Haigh <nelfin@gmail.com> (nelfin)
- へーさん <hira9603859504@gmail.com>
-- orSolocate <38433858+orSolocate@users.noreply.github.com>
-- Tushar Sadhwani <tushar.sadhwani000@gmail.com> (tusharsadhwani)
- Thomas Hisch <t.hisch@gmail.com>
- Marianna Polatoglou <mpolatoglou@bloomberg.net>: minor contribution for wildcard import check
- Manuel Vázquez Acosta <mva.led@gmail.com>
@@ -141,7 +144,6 @@ contributors:
* Added new useless-return checker,
* Added new try-except-raise checker
- Téo Bouvard <teobouvard@gmail.com>
-- Tim Martin <tim@asymptotic.co.uk>
- Mihai Balint <balint.mihai@gmail.com>
- Mark Bell <mark00bell@googlemail.com>
- Konstantina Saketou <56515303+ksaketou@users.noreply.github.com>
@@ -154,6 +156,7 @@ contributors:
- Aru Sahni <arusahni@gmail.com>: Git ignoring, regex-based ignores
- Andreas Freimuth <andreas.freimuth@united-bits.de>: fix indentation checking with tabs
- Alexandru Coman <fcoman@bitdefender.com>
+- jpkotta <jpkotta@gmail.com>
- Takahide Nojima <nozzy123nozzy@gmail.com>
- Taewon D. Kim <kimt33@mcmaster.ca>
- Sneaky Pete <sneakypete81@gmail.com>
@@ -171,7 +174,6 @@ contributors:
* Added new check for useless `with threading.Lock():` statement
- Marcus Näslund <naslundx@gmail.com> (naslundx)
- Marco Forte <fortemarco.irl@gmail.com>
-- Joseph Young <80432516+jpy-git@users.noreply.github.com> (jpy-git)
- Ionel Maries Cristian <contact@ionelmc.ro>
- Gergely Kalmár <gergely.kalmar@logikal.jp>
- Daniel Harding <dharding@gmail.com>
@@ -181,7 +183,6 @@ contributors:
- Antonio Quarta <sgheppy88@gmail.com> (sgheppy)
- Andrew J. Simmons <anjsimmo@gmail.com> (anjsimmo)
- wtracy <afishionado@gmail.com>
-- jpkotta <jpkotta@gmail.com>
- chohner <mail@chohner.com>
- Tiago Honorato <61059243+tiagohonorato@users.noreply.github.com>
- Steven M. Vascellaro <svascellaro@gmail.com>
@@ -218,6 +219,7 @@ contributors:
- Alain Leufroy <alain.leufroy@logilab.fr>
- xmo-odoo <xmo-odoo@users.noreply.github.com>
- root@clnstor.am.local <root@clnstor.am.local>
+- omarandlorraine <64254276+omarandlorraine@users.noreply.github.com>
- grizzly.nyo@gmail.com <grizzly.nyo@gmail.com>
- craig-sh <craig-sh@users.noreply.github.com>
- bernie gray <bfgray3@users.noreply.github.com>
@@ -243,6 +245,7 @@ contributors:
- Matthew Suozzo <msuozzo@google.com>
- Matthew Beckers <17108752+mattlbeck@users.noreply.github.com> (mattlbeck)
- Mark Roman Miller <mtmiller@users.noreply.github.com>: fix inline defs in too-many-statements
+- MalanB <malan.kmu@gmail.com>
- Mads Kiilerich <mads@kiilerich.com>
- Maarten ter Huurne <maarten@treewalker.org>
- Lefteris Karapetsas <lefteris@refu.co>
@@ -292,7 +295,6 @@ contributors:
- ludal@logilab.fr <ludal@logilab.fr>
- lrjball <50599110+lrjball@users.noreply.github.com>
- laike9m <laike9m@users.noreply.github.com>
-- jpkotta@shannon <jpkotta@shannon>
- jaydesl <35102795+jaydesl@users.noreply.github.com>
- jab <jab@users.noreply.github.com>
- glmdgrielson <32415403+glmdgrielson@users.noreply.github.com>
@@ -381,6 +383,7 @@ contributors:
- Nick Smith <clickthisnick@users.noreply.github.com>
- Ned Batchelder <ned@nedbatchelder.com>
- Natalie Serebryakova <natalie.serebryakova@Natalies-MacBook-Pro.local>
+- Moody <mooodyhunter@outlook.com>
- Mitchell Young <mitchelly@gmail.com>: minor adjustment to docparams
- Mitar <mitar.github@tnode.com>
- Mike Fiedler <miketheman@gmail.com> (miketheman)
@@ -407,6 +410,7 @@ contributors:
- Krzysztof Czapla <k.czapla68@gmail.com>
- Kraig Brockschmidt <kraigbr@msn.com>
- Kound <norman.freudenberg@posteo.de>
+- KotlinIsland <65446343+KotlinIsland@users.noreply.github.com>
- Kosarchuk Sergey <sergeykosarchuk@gmail.com>
- Konrad Weihmann <46938494+priv-kweihmann@users.noreply.github.com>
- Kian Meng, Ang <kianmeng.ang@gmail.com>
@@ -444,6 +448,7 @@ contributors:
* Fixed "no-self-use" for async methods
* Fixed "docparams" extension for async functions and methods
- Harshil <37377066+harshil21@users.noreply.github.com> (harshil21)
+- Harry <harrymcwinters@gmail.com>
- Grant Welch <gwelch925+github@gmail.com>
- Giuseppe Valente <gvalente@arista.com>
- Gary Tyler McLeod <mail@garytyler.com>
@@ -495,6 +500,7 @@ contributors:
- Anthony Tan <tanant@users.noreply.github.com>
- Anthony Foglia <afoglia@users.noreply.github.com> (Google): Added simple string slots check.
- Anentropic <ego@anentropic.com>
+- Andy Young <a7young@ucsd.edu>
- Andy Palmer <25123779+ninezerozeronine@users.noreply.github.com>
- Andrzej Klajnert <github@aklajnert.pl>
- Andrew Howe <howeaj@users.noreply.github.com>
diff --git a/ChangeLog b/ChangeLog
index 22f6285d3..930832d12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
Pylint's ChangeLog
------------------
+
What's New in Pylint 2.14.0?
============================
Release date: TBA
diff --git a/doc/messages/messages_list.rst b/doc/messages/messages_list.rst
index d03cc301c..c7674dcb7 100644
--- a/doc/messages/messages_list.rst
+++ b/doc/messages/messages_list.rst
@@ -278,6 +278,7 @@ All messages in the warning category:
warning/raising-format-tuple.rst
warning/redeclared-assigned-name.rst
warning/redefined-builtin.rst
+ warning/redefined-loop-name.rst
warning/redefined-outer-name.rst
warning/redefined-slots-in-subclass.rst
warning/redundant-returns-doc.rst
@@ -394,7 +395,9 @@ All messages in the convention category:
convention/unexpected-line-ending-format.rst
convention/ungrouped-imports.rst
convention/unidiomatic-typecheck.rst
+ convention/unnecessary-direct-lambda-call.rst
convention/unnecessary-dunder-call.rst
+ convention/unnecessary-lambda-assignment.rst
convention/unneeded-not.rst
convention/use-implicit-booleaness-not-comparison.rst
convention/use-implicit-booleaness-not-len.rst
@@ -429,6 +432,7 @@ All messages in the refactor category:
:titlesonly:
refactor/chained-comparison.rst
+ refactor/comparison-of-constants.rst
refactor/comparison-with-itself.rst
refactor/condition-evals-to-constant.rst
refactor/confusing-consecutive-elif.rst
@@ -502,6 +506,7 @@ All renamed messages in the refactor category:
:maxdepth: 1
:titlesonly:
+ refactor/old-no-self-use.rst
refactor/old-simplifiable-if-statement.rst
refactor/old-too-many-nested-blocks.rst
diff --git a/doc/whatsnew/2.14.rst b/doc/whatsnew/2.14.rst
index ba8d33fbd..142502700 100644
--- a/doc/whatsnew/2.14.rst
+++ b/doc/whatsnew/2.14.rst
@@ -8,6 +8,28 @@
Summary -- Release highlights
=============================
+With 2.14 ``pylint`` only supports Python version 3.7.2 and above.
+
+We introduced several new checks among which ``duplicate-value`` for sets,
+``comparison-of-constants``, and checks related to lambdas. We removed ``no-init`` and
+made ``no-self-use`` optional as they were too opinionated. We also added an option
+to generate a toml configuration: ``--generate-toml-config``.
+
+We migrated to ``argparse`` from ``optparse`` and refactored the configuration handling
+thanks to Daniël van Noord. On the user side it should change the output of the
+``--help`` command, and some inconsistencies and bugs should disappear. The behavior
+between options set in a config file versus on the command line will be more consistent. For us,
+it will permit to maintain this part of the code easily in the future and anticipate
+``optparse``'s removal in Python 3.12.
+
+As a result of the refactor there are a lot of internal deprecations. If you're a library
+maintainer that depends on pylint, please verify that you're ready for pylint 3.0
+by activating deprecation warnings.
+
+We continued the integration of ``pylint-error`` and are now at 33%!. We still welcome any community effort
+to help review, integrate, and add good/bad examples <https://github.com/PyCQA/pylint/issues/5953>`_. This should be doable
+without any ``pylint`` or ``astroid`` knowledge, so this is the perfect entrypoint if you want
+to contribute to ``pylint`` or open source without any experience with our code!
New checkers
============
@@ -29,12 +51,6 @@ New checkers
Closes #5895
-* ``MapReduceMixin`` has been deprecated. ``BaseChecker`` now implements ``get_map_data`` and
- ``reduce_map_data``. If a checker actually needs to reduce data it should define ``get_map_data``
- as returning something different than ``None`` and let its ``reduce_map_data`` handle a list
- of the types returned by ``get_map_data``.
- An example can be seen by looking at ``pylint/checkers/similar.py``.
-
* Add new check ``unnecessary-dunder-call`` for unnecessary dunder method calls.
Closes #5936
@@ -169,72 +185,83 @@ Other Changes
by making ``ImportsChecker`` solely responsible for emitting ``deprecated-module`` instead
of sharing responsibility with ``StdlibChecker``. (This could have led to double messages.)
-* The ``config`` attribute of ``BaseChecker`` has been deprecated. You can use ``checker.linter.config``
- to access the global configuration object instead of a checker-specific object.
+* Added the ``generate-toml-config`` option.
- Ref #5392
+ Ref #5462
-* The ``level`` attribute of ``BaseChecker`` has been deprecated: everything is now
- displayed in ``--help``, all the time.
+* ``bad-option-value`` will be emitted whenever a configuration value or command line invocation
+ includes an unknown message.
- Ref #5392
+ Closes #4324
-* The ``set_option`` method of ``BaseChecker`` has been deprecated. You can use ``checker.linter.set_option``
- to set an option on the global configuration object instead of a checker-specific object.
+* Added the ``unrecognized-option`` message. Raised if we encounter any unrecognized options.
- Ref #5392
+ Closes #5259
-* The ``options_providers`` attribute of ``ArgumentsManager`` has been deprecated.
+* Fix false negative for ``bad-string-format-type`` if the value to be formatted is passed in
+ as a variable holding a constant.
- Ref #5392
+* The concept of checker priority has been removed.
-* The ``config`` attribute of ``PyLinter`` is now of the ``argparse.Namespace`` type instead of
- ``optparse.Values``.
+* The ``cache-max-size-none`` checker has been renamed to ``method-cache-max-size-none``.
- Ref #5392
+ Closes #5670
-* ``UnsupportedAction`` has been deprecated.
+* The ``method-cache-max-size-none`` checker will now also check ``functools.cache``.
- Ref #5392
+ Closes #5670
-* ``OptionsManagerMixIn`` has been deprecated.
+* ``BaseChecker`` classes now require the ``linter`` argument to be passed.
- Ref #5392
+* The ``set_config_directly`` decorator has been removed.
-* ``OptionParser`` has been deprecated.
- Ref #5392
+* Fix falsely issuing ``useless-suppression`` on the ``wrong-import-position`` checker.
-* ``Option`` has been deprecated.
+ Closes #5219
- Ref #5392
+* Fixed false positive ``no-member`` for Enums with self-defined members.
-* ``OptionsProviderMixIn`` has been deprecated.
+ Closes #5138
- Ref #5392
+* Fix false negative for ``no-member`` when attempting to assign an instance
+ attribute to itself without any prior assignment.
-* ``ConfigurationMixIn`` has been deprecated.
+ Closes #1555
-* The ``option_groups`` attribute of ``PyLinter`` has been deprecated.
+* Changed message type from ``redefined-outer-name`` to ``redefined-loop-name``
+ (optional extension) for redefinitions of outer loop variables by inner loops.
- Ref #5392
+ Closes #5608
-* ``get_global_config`` has been deprecated. You can now access all global options from
- ``checker.linter.config``.
+* By default the similarity checker will now ignore imports and ignore function signatures when computing
+ duplication. If you want to keep the previous behaviour set ``ignore-imports`` and ``ignore-signatures`` to ``False``.
- Ref #5392
+* Pylint now expands the user path (i.e. ``~`` to ``home/yusef/``) and expands environment variables (i.e. ``home/$USER/$project``
+ to ``home/yusef/pylint`` for ``USER=yusef`` and ``project=pylint``) for pyreverse's ``output-directory``,
+ ``import-graph``, ``ext-import-graph``, ``int-import-graph`` options, and the spell checker's ``spelling-private-dict-file``
+ option.
-* ``OptionsManagerMixIn`` has been replaced with ``ArgumentsManager``. ``ArgumentsManager`` is considered
- private API and most methods that were public on ``OptionsManagerMixIn`` have now been deprecated and will
- be removed in a future release.
+ Relates to #6493
- Ref #5392
+* Don't emit ``unsubscriptable-object`` for string annotations.
+ Pylint doesn't check if class is only generic in type stubs only.
-* ``OptionsProviderMixIn`` has been replaced with ``ArgumentsProvider``. ``ArgumentsProvider`` is considered
- private API and most methods that were public on ``OptionsProviderMixIn`` have now been deprecated and will
- be removed in a future release.
+ Closes #4369 and #6523
- Ref #5392
+* ``is_class_subscriptable_pep585_with_postponed_evaluation_enabled`` has been deprecated.
+ Use ``subscriptable_with_postponed_evaluation_enabled`` instead.
+
+ Ref #6536
+
+
+Deprecations
+============
+
+* The ``ignore-mixin-members`` option has been deprecated. You should now use the new
+ ``ignored-checks-for-mixins`` option.
+
+ Closes #5205
* ``interfaces.implements`` has been deprecated and will be removed in 3.0. Please use standard inheritance
patterns instead of ``__implements__``.
@@ -248,27 +275,31 @@ Other Changes
Closes #2287
-* Added the ``generate-toml-config`` option.
+* ``MapReduceMixin`` has been deprecated. ``BaseChecker`` now implements ``get_map_data`` and
+ ``reduce_map_data``. If a checker actually needs to reduce data it should define ``get_map_data``
+ as returning something different than ``None`` and let its ``reduce_map_data`` handle a list
+ of the types returned by ``get_map_data``.
+ An example can be seen by looking at ``pylint/checkers/similar.py``.
- Ref #5462
-* ``bad-option-value`` will be emitted whenever a configuration value or command line invocation
- includes an unknown message.
+* The ``config`` attribute of ``BaseChecker`` has been deprecated. You can use ``checker.linter.config``
+ to access the global configuration object instead of a checker-specific object.
- Closes #4324
+ Ref #5392
-* Added the ``unrecognized-option`` message. Raised if we encounter any unrecognized options.
+* The ``level`` attribute of ``BaseChecker`` has been deprecated: everything is now
+ displayed in ``--help``, all the time.
- Closes #5259
+ Ref #5392
-* Fix false negative for ``bad-string-format-type`` if the value to be formatted is passed in
- as a variable holding a constant.
+* The ``set_option`` method of ``BaseChecker`` has been deprecated. You can use ``checker.linter.set_option``
+ to set an option on the global configuration object instead of a checker-specific object.
-* The concept of checker priority has been removed.
+ Ref #5392
-* The ``cache-max-size-none`` checker has been renamed to ``method-cache-max-size-none``.
+* The ``options_providers`` attribute of ``ArgumentsManager`` has been deprecated.
- Closes #5670
+ Ref #5392
* Fix saving of persistent data files in environments where the user's cache
directory and the linted file are on a different drive.
@@ -277,51 +308,50 @@ Other Changes
* The ``method-cache-max-size-none`` checker will now also check ``functools.cache``.
- Closes #5670
+* The ``config`` attribute of ``PyLinter`` is now of the ``argparse.Namespace`` type instead of
+ ``optparse.Values``.
-* ``BaseChecker`` classes now require the ``linter`` argument to be passed.
+ Ref #5392
-* The ``set_config_directly`` decorator has been removed.
+* ``UnsupportedAction`` has been deprecated.
-* The ``ignore-mixin-members`` option has been deprecated. You should now use the new
- ``ignored-checks-for-mixins`` option.
+ Ref #5392
- Closes #5205
+* ``OptionsManagerMixIn`` has been deprecated.
-* Fix falsely issuing ``useless-suppression`` on the ``wrong-import-position`` checker.
+ Ref #5392
- Closes #5219
+* ``OptionParser`` has been deprecated.
-* Fixed false positive ``no-member`` for Enums with self-defined members.
+ Ref #5392
- Closes #5138
+* ``Option`` has been deprecated.
-* Fix false negative for ``no-member`` when attempting to assign an instance
- attribute to itself without any prior assignment.
+ Ref #5392
- Closes #1555
+* ``OptionsProviderMixIn`` has been deprecated.
-* Changed message type from ``redefined-outer-name`` to ``redefined-loop-name``
- (optional extension) for redefinitions of outer loop variables by inner loops.
+ Ref #5392
- Closes #5608
+* ``ConfigurationMixIn`` has been deprecated.
-* By default the similarity checker will now ignore imports and ignore function signatures when computing
- duplication. If you want to keep the previous behaviour set ``ignore-imports`` and ``ignore-signatures`` to ``False``.
+* The ``option_groups`` attribute of ``PyLinter`` has been deprecated.
-* Pylint now expands the user path (i.e. ``~`` to ``home/yusef/``) and expands environment variables (i.e. ``home/$USER/$project``
- to ``home/yusef/pylint`` for ``USER=yusef`` and ``project=pylint``) for pyreverse's ``output-directory``,
- ``import-graph``, ``ext-import-graph``, ``int-import-graph`` options, and the spell checker's ``spelling-private-dict-file``
- option.
+ Ref #5392
- Relates to #6493
+* ``get_global_config`` has been deprecated. You can now access all global options from
+ ``checker.linter.config``.
-* Don't emit ``unsubscriptable-object`` for string annotations.
- Pylint doesn't check if class is only generic in type stubs only.
+ Ref #5392
- Closes #4369 and #6523
+* ``OptionsManagerMixIn`` has been replaced with ``ArgumentsManager``. ``ArgumentsManager`` is considered
+ private API and most methods that were public on ``OptionsManagerMixIn`` have now been deprecated and will
+ be removed in a future release.
-* ``is_class_subscriptable_pep585_with_postponed_evaluation_enabled`` has been deprecated.
- Use ``subscriptable_with_postponed_evaluation_enabled`` instead.
+ Ref #5392
- Ref #6536
+* ``OptionsProviderMixIn`` has been replaced with ``ArgumentsProvider``. ``ArgumentsProvider`` is considered
+ private API and most methods that were public on ``OptionsProviderMixIn`` have now been deprecated and will
+ be removed in a future release.
+
+ Ref #5392
diff --git a/examples/pyproject.toml b/examples/pyproject.toml
index 87e16842c..690f0c0a6 100644
--- a/examples/pyproject.toml
+++ b/examples/pyproject.toml
@@ -1,4 +1,4 @@
-[tool.pylint.master]
+[tool.pylint.main]
# Analyse import fallback blocks. This can be used to support both Python 2 and 3
# compatible code, which means that the block might have code that exists only in
# one or another interpreter, leading to false positives when analysed.
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index fe68ad293..72e66b3fa 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-dev0"
+__version__ = "2.14.0-b1"
def get_numversion_from_version(v: str) -> tuple[int, int, int]:
diff --git a/requirements_test.txt b/requirements_test.txt
index f76a00bac..a2e330125 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -10,3 +10,4 @@ pytest-profiling~=1.7
pytest-xdist~=2.5
# Type packages for mypy
types-pkg_resources==0.1.3
+tox>=3
diff --git a/script/.contributors_aliases.json b/script/.contributors_aliases.json
index dbff55ca2..a97a65e37 100644
--- a/script/.contributors_aliases.json
+++ b/script/.contributors_aliases.json
@@ -320,6 +320,10 @@
"name": "Hippo91",
"team": "Maintainers"
},
+ "gunungpambudiw@gmail.com": {
+ "mails": ["gunungpambudiw@gmail.com"],
+ "name": "Gunung Pambudi W."
+ },
"hg@stevenmyint.com": {
"mails": ["hg@stevenmyint.com", "git@stevenmyint.com"],
"name": "Steven Myint"
@@ -357,6 +361,10 @@
"mails": ["josselin@trailofbits.com"],
"name": "Josselin Feist"
},
+ "jpkotta@gmail.com": {
+ "mails": ["jpkotta@gmail.com", "jpkotta@shannon"],
+ "name": "jpkotta"
+ },
"justinnhli@gmail.com": {
"mails": ["justinnhli@gmail.com", "justinnhli@users.noreply.github.com"],
"name": "Justin Li"
@@ -563,9 +571,5 @@
"vladtemian@gmail.com": {
"mails": ["vladtemian@gmail.com"],
"name": "Vlad Temian"
- },
- "gunungpambudiw@gmail.com": {
- "mails": ["gunungpambudiw@gmail.com"],
- "name": "Gunung Pambudi W."
}
}
diff --git a/tbump.toml b/tbump.toml
index 773efeea5..b90445975 100644
--- a/tbump.toml
+++ b/tbump.toml
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"
[version]
-current = "2.14.0-dev0"
+current = "2.14.0-b1"
regex = '''
^(?P<major>0|[1-9]\d*)
\.