Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix inconsistent argument exit code when argparse exit with its own error ↵ | David Lawson | 2022-12-14 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | code (#7931) Returning 2 here is confusing as it doesn't match the documentation: https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#exit-codes * pylint: use exit code 32 when invalid arguments are passed * pylint: add failing test when ambiguous abbreviated parameters are set in a config file This is confusing behaviour. The output is: ``` usage: pylint [options] pylint: error: ambiguous option: --no could match --notes, --notes-rgx, --no-docstring-rgx ``` The exit code is 2 which doesn't match the documentation: https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#exit-codes * pylint: use exit code 32 when ambiguous abbreviated parameters are set in a config file Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Sort --generate-rcfile output | Marc Mueller | 2022-10-21 | 1 | -2/+5 |
| | |||||
* | Add ``minimal`` option to ``pylint-config`` (#7489) | Daniël van Noord | 2022-09-19 | 1 | -9/+16 |
| | | | Co-authored-by: Christian Clauss <cclauss@me.com> | ||||
* | Use stacklevel=2 in warnings.warn calls to DeprecationWarning where makes ↵ | Yilei "Dolee" Yang | 2022-09-15 | 1 | -0/+19 |
| | | | | | | | | sense. (#7465) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``Any`` typing to deprecated methods | Daniël van Noord | 2022-09-09 | 1 | -2/+4 |
| | |||||
* | Turn on ``check-untyped-defs`` in ``mypy`` (#7407) | Daniël van Noord | 2022-09-09 | 1 | -4/+6 |
| | |||||
* | Store namespaces respective to directories (#6789) | Daniël van Noord | 2022-06-04 | 1 | -1/+12 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Some initial line wrapping of docstrings (#6672) | Daniël van Noord | 2022-05-23 | 1 | -1/+3 |
| | |||||
* | Make ``_generate_config_file`` return a string | Daniël van Noord | 2022-05-22 | 1 | -2/+2 |
| | |||||
* | Add setup and --help command to pylint-config | Daniël van Noord | 2022-05-21 | 1 | -4/+12 |
| | |||||
* | Refactors in preparation of ``pylint-config`` | Daniël van Noord | 2022-05-17 | 1 | -0/+2 |
| | |||||
* | Use main instead of master as main checker name (#6569) | Daniël van Noord | 2022-05-10 | 1 | -2/+2 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Make sure that --generate-toml-config generates a valid file (#6564) | Daniël van Noord | 2022-05-10 | 1 | -1/+11 |
| | |||||
* | Disable fixme for internal uses before we make it optional in #3512 (#6482) | Pierre Sassoulas | 2022-05-01 | 1 | -5/+4 |
| | |||||
* | Run development version of ``pydocstringformatter`` (#6469) | Daniël van Noord | 2022-04-28 | 1 | -4/+4 |
| | |||||
* | [spelling] Remove remaining typoes detected by the spelling checker | Pierre Sassoulas | 2022-04-26 | 1 | -2/+2 |
| | |||||
* | Fix short ``-v`` flag and add ``metavar`` support to ``_CallableArgument`` ↵ | Daniël van Noord | 2022-04-19 | 1 | -0/+1 |
| | | | | (#6386) | ||||
* | Transition ``pyreverse`` from ``optparse`` to ``argparse`` (#6334) | Daniël van Noord | 2022-04-15 | 1 | -1/+4 |
| | |||||
* | Deprecate ``options_providers`` | Daniël van Noord | 2022-04-15 | 1 | -3/+20 |
| | |||||
* | Add ``unrecognized-option`` message (#6330) | Daniël van Noord | 2022-04-15 | 1 | -4/+13 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Increase coverage for ``argparse`` (#6331) | Daniël van Noord | 2022-04-15 | 1 | -6/+2 |
| | | | | | | * Fix coverage of ``pylint/config/arguments_manager.py`` * Fix coverage of ``pylint/config/utils.py`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Merge pull request #6298 from DanielNoord/argparse-pyreverse-2 | Andreas Finkler | 2022-04-15 | 1 | -1/+2 |
|\ | | | | | Add typing and small refactors to pyreverse | ||||
| * | Add typing and small refactors to pyreverse | Daniël van Noord | 2022-04-15 | 1 | -1/+2 |
| | | |||||
* | | Exclude deprecated methods and files from coverage | Daniël van Noord | 2022-04-15 | 1 | -15/+19 |
| | | |||||
* | | Deprecate the ``level`` attribute | Daniël van Noord | 2022-04-15 | 1 | -1/+0 |
| | | |||||
* | | Deprecate ``cb_set_provider_option`` | Daniël van Noord | 2022-04-15 | 1 | -5/+7 |
|/ | |||||
* | Remove ``_ArgumentsManager.namespace`` | Daniël van Noord | 2022-04-14 | 1 | -8/+0 |
| | |||||
* | Add classifications to TODOs across codebase | Daniël van Noord | 2022-04-14 | 1 | -2/+2 |
| | |||||
* | Replace .namespace with .config (#6316) | Daniël van Noord | 2022-04-14 | 1 | -8/+8 |
| | |||||
* | Set ``Namespace`` on ``config`` instead of ``namespace`` | Daniël van Noord | 2022-04-14 | 1 | -2/+15 |
| | |||||
* | Add ``_ArgumentsManager.set_option`` and deprecate old option setters (#6299) | Daniël van Noord | 2022-04-14 | 1 | -6/+37 |
| | |||||
* | Use ``python-typing-update`` on ``pylint/config`` directory (#6307) | Daniël van Noord | 2022-04-14 | 1 | -23/+25 |
| | |||||
* | Create ``_ExtendArgument`` | Daniël van Noord | 2022-04-14 | 1 | -0/+12 |
| | |||||
* | Add a ``--generate-toml-config`` option (#6199) | Daniël van Noord | 2022-04-13 | 1 | -0/+75 |
| | |||||
* | Use ``namespace`` in ``--generate-rcfile`` (#6282) | Daniël van Noord | 2022-04-13 | 1 | -20/+34 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Deprecate ``BaseChecker.config`` (#6278) | Daniël van Noord | 2022-04-12 | 1 | -0/+4 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Use ``namespace`` in ``PyLinter`` and the functional config tests (#6271) | Daniël van Noord | 2022-04-12 | 1 | -8/+6 |
| | | | | | | | * Use callback actions in ``PyLinter`` * Turn off ``optparse`` command line parsing * No longer emit ``bad-configuration-section`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Deprecate most methods of ``_ArgumentsProvider`` | Daniël van Noord | 2022-04-12 | 1 | -17/+21 |
| | |||||
* | Number of small refactors in ``argparse`` code (#6266) | Daniël van Noord | 2022-04-11 | 1 | -1/+1 |
| | |||||
* | Remove ``OptionsProviderMixIn`` from ``BaseChecker`` | Daniël van Noord | 2022-04-11 | 1 | -9/+9 |
| | |||||
* | Update TODOs and add changelog entry about ``ArgumentsManager`` | Daniël van Noord | 2022-04-11 | 1 | -14/+18 |
| | |||||
* | Deprecate ``load_command_line_configuration`` | Daniël van Noord | 2022-04-11 | 1 | -52/+22 |
| | |||||
* | Refactor ``ArgumentsManager.help`` | Daniël van Noord | 2022-04-11 | 1 | -5/+9 |
| | |||||
* | Deprecate ``load_config_file``, ``load_configuration`` and ↵ | Daniël van Noord | 2022-04-07 | 1 | -10/+24 |
| | | | | ``load_configuration_from_config`` (#6227) | ||||
* | Deprecate ``load_provider_defaults`` and ``read_config_file`` (#6224) | Daniël van Noord | 2022-04-07 | 1 | -7/+19 |
| | |||||
* | Deprecate ``generate_config`` (#6222) | Daniël van Noord | 2022-04-07 | 1 | -25/+31 |
| | |||||
* | Deprecate ``add_optik_option`` and ``optik_option`` (#6220) | Daniël van Noord | 2022-04-07 | 1 | -19/+50 |
| | |||||
* | Deprecate ``add_option_group`` | Daniël van Noord | 2022-04-07 | 1 | -18/+34 |
| | |||||
* | Deprecate ``register_options_provider`` (#6217) | Daniël van Noord | 2022-04-07 | 1 | -8/+23 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Deprecate ``reset_parsers`` | Daniël van Noord | 2022-04-07 | 1 | -10/+18 |
| |