Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 1 | -2/+2 |
| | |||||
* | [pre-commit] Transition from flake8/autoflake to ruff (#8372) | Pierre Sassoulas | 2023-03-02 | 1 | -3/+4 |
| | | | | | ruff is faster and support pyproject.toml. flake8-typing-import is not implemented but it checks for things in python version < 3.7.2 that we do not support. | ||||
* | Changing flake8 to have max-line-length of 115 (#8362) | Ollie | 2023-03-02 | 1 | -1/+2 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Support globbing pattern for input specification (#8312) | Alexey Pelykh | 2023-03-01 | 1 | -2/+12 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix inconsistent argument exit code when argparse exit with its own error ↵ | David Lawson | 2022-12-14 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Fix handling of ``--`` as separator between positional args and flags (#7551) | Daniël van Noord | 2022-10-02 | 1 | -2/+7 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix handling of ``--`` as separator of positional arguments and flags | Daniël van Noord | 2022-06-30 | 1 | -1/+2 |
| | |||||
* | Fix handling of quoted ``init-hook`` (#7010) | Daniël van Noord | 2022-06-23 | 1 | -1/+1 |
| | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Mix incorrect parsing of multi-line options in ``ini`` files | Daniël van Noord | 2022-06-13 | 1 | -1/+1 |
| | |||||
* | [refactor] Change the name of the stashed messages list in PyLinter | Pierre Sassoulas | 2022-06-05 | 1 | -1/+1 |
| | |||||
* | Store namespaces respective to directories (#6789) | Daniël van Noord | 2022-06-04 | 1 | -0/+3 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Allow disabling `bad-option-value` and `unrecognized-option` with ↵ | Jacob Walls | 2022-05-27 | 1 | -3/+13 |
| | | | | | `--disable=all` (#6691) Previously, due to the order in which options are parsed (config file, then command line), any unrecognized or bad options in the config file would emit messages unconditionally, even if suppressed on the CLI. | ||||
* | Refactors in preparation of ``pylint-config`` | Daniël van Noord | 2022-05-17 | 1 | -6/+2 |
| | |||||
* | Exit gracefully for unrecognized command line options (#6506) | Daniël van Noord | 2022-05-05 | 1 | -2/+1 |
| | |||||
* | Deprecate all old classes from ``optparse`` (#6338) | Daniël van Noord | 2022-04-16 | 1 | -2/+3 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``unrecognized-option`` message (#6330) | Daniël van Noord | 2022-04-15 | 1 | -1/+18 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``bad-option-value`` | Daniël van Noord | 2022-04-14 | 1 | -0/+8 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Use ``python-typing-update`` on ``pylint/config`` directory (#6307) | Daniël van Noord | 2022-04-14 | 1 | -6/+8 |
| | |||||
* | Remove use of deprecated methods in ``_ArgumentsProvider`` and ↵ | Daniël van Noord | 2022-04-13 | 1 | -32/+0 |
| | | | | ``_config_initialization`` | ||||
* | Use ``namespace`` in ``PyLinter`` and the functional config tests (#6271) | Daniël van Noord | 2022-04-12 | 1 | -8/+11 |
| | | | | | | | * 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> | ||||
* | Number of small refactors in ``argparse`` code (#6266) | Daniël van Noord | 2022-04-11 | 1 | -7/+7 |
| | |||||
* | Deprecate ``load_command_line_configuration`` | Daniël van Noord | 2022-04-11 | 1 | -1/+3 |
| | |||||
* | Refactor ``ArgumentsManager.help`` | Daniël van Noord | 2022-04-11 | 1 | -1/+1 |
| | |||||
* | Deprecate ``load_config_file``, ``load_configuration`` and ↵ | Daniël van Noord | 2022-04-07 | 1 | -1/+3 |
| | | | | ``load_configuration_from_config`` (#6227) | ||||
* | Deprecate ``load_provider_defaults`` and ``read_config_file`` (#6224) | Daniël van Noord | 2022-04-07 | 1 | -1/+4 |
| | |||||
* | Improve performance of config file reader | Daniël van Noord | 2022-04-06 | 1 | -2/+4 |
| | |||||
* | Refactor ``_config_initialization`` | Daniël van Noord | 2022-04-05 | 1 | -18/+15 |
| | |||||
* | Do ``init-hook`` and ``load-plugins`` from ``argparse`` | Daniël van Noord | 2022-04-05 | 1 | -12/+8 |
| | |||||
* | Remove ``_parse_plugin_configuration`` | Daniël van Noord | 2022-04-05 | 1 | -9/+6 |
| | |||||
* | Finalize ``_parse_command_line_configuration`` (#6189) | Daniël van Noord | 2022-04-05 | 1 | -2/+2 |
| | |||||
* | Change how ``errors-mode`` is parsed | Daniël van Noord | 2022-04-05 | 1 | -0/+2 |
| | |||||
* | Refactor the help message | Daniël van Noord | 2022-04-04 | 1 | -1/+1 |
| | |||||
* | Only exit after ``argparse`` parsing is done | Daniël van Noord | 2022-04-02 | 1 | -6/+6 |
| | |||||
* | Do ``argparse`` parsing of config file first (#6119) | Daniël van Noord | 2022-04-02 | 1 | -5/+5 |
| | |||||
* | Create ``_ConfigurationFileParser`` class (#6055) | Daniël van Noord | 2022-04-01 | 1 | -2/+9 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Some refactors of configuration file discovery (#6052) | Daniël van Noord | 2022-04-01 | 1 | -5/+10 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Move setting of the current module to a better place in config init (#6046) | Daniël van Noord | 2022-03-29 | 1 | -0/+3 |
| | |||||
* | Create an `Argument` class and allow convertion of optdict into them (#5584) | Daniël van Noord | 2022-03-29 | 1 | -3/+17 |
| | | | | | * Use config initialization of ``_ArgumentsManager`` * Allow ``BaseChecker`` to register on a ``_ArgumentsManager`` * Use the ``argparse`` config handler in ``logging.py`` and add tests | ||||
* | Add a pre-commit hook to check the copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -1/+1 |
| | | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc | ||||
* | Simplify hard to maintain copyright notice | Pierre Sassoulas | 2022-03-24 | 1 | -0/+1 |
| | | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names. | ||||
* | Make functional tests always go through config initialization (#5594) | Daniël van Noord | 2021-12-28 | 1 | -1/+2 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Create ``_config_initialization`` util and use in functional tests (#5591) | Daniël van Noord | 2021-12-23 | 1 | -0/+75 |