Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a false negative for ``too-many-arguments`` and positional-only and ↵ | Mark Byrne | 2023-05-15 | 1 | -0/+5 |
| | | | | | | | | keyword-only arguments (#8674) Closes #8667 | ||||
* | Search for pyproject.toml config file in parent dirs (#7163) | Mikhail f. Shiryaev | 2023-04-30 | 1 | -1/+29 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Make sure a ``tool`` table is created in ``toml`` generation (#8638) | Daniël van Noord | 2023-04-30 | 1 | -1/+4 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Drop support for Python 3.7 (#8609) | Marc Mueller | 2023-04-24 | 2 | -14/+2 |
| | | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests | ||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 18 | -36/+36 |
| | |||||
* | Add explicit 'stack_level' keyword in Deprecation/User warnings | Pierre Sassoulas | 2023-03-21 | 1 | -0/+1 |
| | |||||
* | [deprecation] ``setup.cfg``and ``tox.ini`` sections need to start by ↵ | Pierre Sassoulas | 2023-03-20 | 1 | -17/+6 |
| | | | | 'pylint' (#8465) | ||||
* | [deprecation] Remove the warning about the old pylint home (#8462) | Pierre Sassoulas | 2023-03-20 | 1 | -3/+2 |
| | | | Also remove related tests, and simplify existing one | ||||
* | [ruff] Add RUF specific rules and autofix (#8449) | Pierre Sassoulas | 2023-03-14 | 1 | -1/+1 |
| | |||||
* | Remove all old code related to ``optparse`` config parsing. (#8405) | Daniël van Noord | 2023-03-08 | 13 | -1542/+26 |
| | | | | | * Remove all old config parsing code * Temporarily disable a test | ||||
* | [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 | 2 | -3/+5 |
| | | | 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> | ||||
* | Fixing some too long lines (#8339) | Ollie | 2023-02-25 | 1 | -2/+2 |
| | | | | | * Changing flake8 max-line-length to 120 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Support globbing patterns for source-roots (#8281) | Alexey Pelykh | 2023-02-21 | 2 | -7/+8 |
| | | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | ||||
* | Support Implicit Namespace Packages (PEP 420) (#8153) | Alexey Pelykh | 2023-02-09 | 2 | -0/+14 |
| | | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | ||||
* | [ruff] Disable a Star-arg unpacking in a deprecated function | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 |
| | |||||
* | [ruff] B904 Raise exceptions with 'raise ... from err' | Pierre Sassoulas | 2023-02-06 | 1 | -1/+1 |
| | |||||
* | Fix inconsistent argument exit code when argparse exit with its own error ↵ | David Lawson | 2022-12-14 | 2 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Bump mypy from 0.982 to 0.990 (#7769) | dependabot[bot] | 2022-11-14 | 2 | -3/+3 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | [use-implicit-booleaness] Fix comparison to empty strings across the ↵ | Pierre Sassoulas | 2022-11-07 | 1 | -1/+1 |
| | | | | | codebase (#7722) As it will become a default check in #6870 it will be easier to review it if we separate the two | ||||
* | Use new symbolic name instead of the old names (#7728) | Dani Alcala | 2022-11-07 | 1 | -1/+1 |
| | |||||
* | Rename `broad-except` and new check `broad-exception-raised` (#7709) | Dani Alcala | 2022-11-05 | 1 | -1/+1 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Sort --generate-rcfile output | Marc Mueller | 2022-10-21 | 1 | -2/+5 |
| | |||||
* | 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> | ||||
* | Hotfix mypy precommit errors for colorama and typing on Windows (#7531) | orSolocate | 2022-09-27 | 1 | -0/+2 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``minimal`` option to ``pylint-config`` (#7489) | Daniël van Noord | 2022-09-19 | 3 | -13/+30 |
| | | | Co-authored-by: Christian Clauss <cclauss@me.com> | ||||
* | Accept a comma-separated list of messages IDs in ``--help-msg`` (#7490) | Daniël van Noord | 2022-09-19 | 1 | -1/+5 |
| | |||||
* | Provide more context in these two DeprecationWarning. | Yilei Yang | 2022-09-16 | 1 | -2/+4 |
| | | | | | | Since this is called a few frame levels inside Pylint, providing the context of what optdict= can help with finding where the option originally comes from. This is a follow-up to #7465 | ||||
* | Use stacklevel=2 in warnings.warn calls to DeprecationWarning where makes ↵ | Yilei "Dolee" Yang | 2022-09-15 | 9 | -0/+38 |
| | | | | | | | | sense. (#7465) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Turn on ``mypy`` strict mode 🎉 (#7448) | Daniël van Noord | 2022-09-09 | 2 | -2/+2 |
| | | | | | | | | | | * Ignore subclasses of Any * Add ignores for imported code and remove casts * Add disables for uninferable return values * Turn on ``mypy`` strict mode | ||||
* | Finish typing across the codebase | Daniël van Noord | 2022-09-09 | 1 | -2/+4 |
| | |||||
* | Add typing to deprecated modules | Daniël van Noord | 2022-09-09 | 2 | -38/+66 |
| | |||||
* | Fix return type of ``_parse_rich_type_value`` | Daniël van Noord | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Add ``Any`` typing to deprecated methods | Daniël van Noord | 2022-09-09 | 2 | -4/+11 |
| | |||||
* | Finish some unfinished typing signatures | Daniël van Noord | 2022-09-09 | 4 | -6/+8 |
| | |||||
* | Turn on ``check-untyped-defs`` in ``mypy`` (#7407) | Daniël van Noord | 2022-09-09 | 7 | -25/+38 |
| | |||||
* | Suppress ``OSError`` in config file discovery (#7423) | Daniël van Noord | 2022-09-06 | 1 | -10/+42 |
| | |||||
* | Add typing to ``unittest_config`` (#7404) | Daniël van Noord | 2022-09-04 | 1 | -4/+12 |
| | |||||
* | Fix crash when regex option raises a `re.error` exception. (#7228) | Mark Byrne | 2022-07-31 | 1 | -2/+11 |
| | | | | | | | Closes #7202 * Apply the regex validation to comma-separated regular expression option values. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bump or remove some ``TODOs`` (#7141) | Daniël van Noord | 2022-07-07 | 1 | -1/+2 |
| | |||||
* | Fix handling of ``--`` as separator of positional arguments and flags | Daniël van Noord | 2022-06-30 | 1 | -1/+2 |
| | |||||
* | Fix recognition of config files named ``setup.cfg`` (#3630) (#6577) | Pierre Sassoulas | 2022-06-29 | 1 | -4/+4 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | 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> | ||||
* | Fix typo in option processing | Jacob Walls | 2022-06-23 | 1 | -1/+1 |
| | |||||
* | Mix incorrect parsing of multi-line options in ``ini`` files | Daniël van Noord | 2022-06-13 | 2 | -2/+1 |
| | |||||
* | Mark `no-self-use` as moved to extensions (#6932) | Jacob Walls | 2022-06-13 | 1 | -1/+4 |
| | | | | | | * Mark `no-self-use` as deleted (moved to extensions) * Separate notions of deleted messages from moved messages Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [bad-option-value] Add a 'useless-option-value' message | Pierre Sassoulas | 2022-06-06 | 1 | -3/+7 |
| | | | | | | | So it's possible to to distinguish between genuine typoes and old configuration that could be cleaned. We use old_names to decrease message type to warning | ||||
* | [refactor] Callback for disabling or enabling option use a base class | Pierre Sassoulas | 2022-06-05 | 1 | -21/+34 |
| | |||||
* | [refactor] Change the name of the stashed messages list in PyLinter | Pierre Sassoulas | 2022-06-05 | 2 | -7/+7 |
| |