summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Upgrade astroid version to 2.11.5Pierre Sassoulas2022-05-132-2/+2
| |
| * Add an exception for `IndexError` inside `uninferable_final_decorator` (#6532)Mark Byrne2022-05-134-12/+55
| | | | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Remove release note for unreleased crash fixJacob Walls2022-05-132-10/+0
| |
* | Fix false positive for `undefined-loop-variable` with `enumerate()` (#6602)Jacob Walls2022-05-134-0/+22
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Fix a crash in `unnecessary-list-index-lookup` when incorrectly using ↵Jacob Walls2022-05-134-0/+14
| | | | | | | | `enumerate()` (#6604)
* | Add macOS to the test environments (#6601)Daniël van Noord2022-05-131-3/+49
| |
* | Change wording of use a generator message for sum/max/min (#6600)Pierre Sassoulas2022-05-1311-24/+50
| | | | | | | | | | Follow-up to #6595 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Added use-a-generator message example (#6590)Matus Valo2022-05-134-0/+13
| | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Respect ignore configuration options when --recursive=y. (#6528)Matus Valo2022-05-136-8/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ignore specified files/directories in recursive mode * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Changelog * Fix typo in Changelog * Fix typo in comment * Add missing regrtest data directory * Improved unittests * Move common code of checking if file is ignored to separate function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Rename is_ignored_file to _is_ignored_file Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update ChangeLog Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Raise use_a_generator for `sum()`, `max()`, `min()` (#6595)Matus Valo2022-05-134-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * Raise use_a_generator for `sum()`, `max()`, `min()` * Updated changelog * and -> or * Update ChangeLog Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Write the exception message to stderr in `ASTWalker.walk` (#6598)Yilei "Dolee" Yang2022-05-123-1/+13
| |
* | Added using-constant-test message example (#6591)Matus Valo2022-05-122-0/+5
| |
* | Add documentation for `using-final-decorator-in-unsupported-version` (#6583)Mark Byrne2022-05-124-0/+14
| | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Replace `pip install -e` with `pip install -r requirements_test_min.txt` (#6588)Edward K. Ream2022-05-121-2/+4
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | [raise-missing-from] Clearer message and example in the documentation (#6576)Pierre Sassoulas2022-05-126-31/+77
| | | | | | | | | | | | | | | | | | * [raise-missing-from] Clearer message and example in the documentation Co-authored-by: cool-RR <ram@rachum.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Refs #5953 Closes #3707
* | Add `yield-outside-function` documentation examples (#6585)Mark Byrne2022-05-122-0/+5
| | | | | | | | | | | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Add `unnecessary-pass` documentation examples based on work from the ↵Mark Byrne2022-05-122-0/+5
| | | | | | | | | | | | `pylint-errors` project. Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com>
* | Finish typing of `pylint.pyreverse.utils` (#6549)Andreas Finkler2022-05-111-35/+29
| | | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* | [--long-help] Remove redundant default description in message (#6581)Pierre Sassoulas2022-05-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Text was: ``` --overgeneral-exceptions <comma-separated class names> Exceptions that will emit a warning when being caught. Defaults to "BaseException, Exception". (default: ('BaseException', 'Exception')) ``` Now: ``` --overgeneral-exceptions <comma-separated class names> Exceptions that will emit a warning when being caught. (default: ('BaseException', 'Exception')) ``` Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Fix a crash in `unnecessary-dict-index-lookup` when subscripting an ↵Jacob Walls2022-05-114-0/+16
| | | | | | | | attribute (#6579)
* | Better assert message for documentation tests (#6575)Pierre Sassoulas2022-05-111-2/+4
| |
* | Use the standard config parser instead a new one in functional tests (#6572)Daniël van Noord2022-05-113-12/+44
| |
* | Update all ``TODO: 2.14`` (#6573)Daniël van Noord2022-05-103-3/+1
| |
* | Bump pylint to 2.14.0-b0, update changelog (#6527)v2.14.0-b1Pierre Sassoulas2022-05-109-103/+150
| | | | | | Update contributors and create release summary
* | Use main instead of master as main checker name (#6569)Daniël van Noord2022-05-10122-144/+154
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Upgrade configuration example and add toml example (#6529)Pierre Sassoulas2022-05-103-195/+798
| | | | | | | | | | * Add a pyproject.toml example and an automated upgrade for release * Upgrade the pylintrc example following migration to argparse
* | Make sure that --generate-rcfile generates a valid file (#6566)Daniël van Noord2022-05-102-1/+17
| |
* | Make sure that --generate-toml-config generates a valid file (#6564)Daniël van Noord2022-05-102-1/+26
| |
* | [pre-commit.ci] pre-commit autoupdate (#6567)pre-commit-ci[bot]2022-05-101-1/+1
| | | | | | | | | | | | updates: - [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* | Fix disabling of ``bad-option-value`` (#6556)Daniël van Noord2022-05-099-18/+216
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Add regression test for #6497 (#6498)Jacob Walls2022-05-093-0/+17
| |
* | Added while-used message example (#6562)Matus Valo2022-05-094-0/+25
| |
* | Add regression test for #6538 (#6553)Jacob Walls2022-05-091-0/+22
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Update pre-commit requirement from ~=2.18 to ~=2.19 (#6561)dependabot[bot]2022-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v2.18.0...v2.19.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Refactor ``_collect_block_lines`` (#6560)Daniël van Noord2022-05-091-31/+40
| |
* | Upgrade astroid version to 2.11.5Pierre Sassoulas2022-05-092-2/+2
| |
* | Add regression test for #6539Jacob Walls2022-05-093-0/+11
| |
* | Pass ``msg_store`` and ``node`` to ``FileState`` (#6558)Daniël van Noord2022-05-095-12/+58
| |
* | Added try-except-raise message example (#6540)Matus Valo2022-05-093-0/+30
| | | | | | | | | | Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* | Revert "Do not append namespace packages to sys.path (#6405)" (#6548)Pierre Sassoulas2022-05-097-74/+0
| | | | | | This reverts commit 603be8408a5d2d98283f41cfd9a94998fd7cfd3c.
* | Move ``process_tokens`` to ``_MessageStateHandler`` (#6546)Daniël van Noord2022-05-082-97/+98
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Move all public methods to ``_MessageStateHandler`` (#6545)Daniël van Noord2022-05-082-176/+184
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Create ``_MessageStateHandler`` and move all private methodsDaniël van Noord2022-05-082-115/+141
| |
* | Add typing to `pylint.pyreverse.diagrams.py` (#6547)Andreas Finkler2022-05-081-43/+78
| | | | | | | | | | | | | | | | | | | | | | * Add typing to `pylint.pyreverse.diagrams.py` * Apply suggestions from code review Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> * Remove unused method `nodes()` and use node classes through `nodes.<CLASS>` Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Add an exception for `IndexError` inside `uninferable_final_decorator` (#6532)Mark Byrne2022-05-074-12/+55
| | | | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Added dict-iter-missing-items message exampleMatus Valo2022-05-072-0/+6
| |
* | Make the scope of ``PyLinter`` messages explicitDaniël van Noord2022-05-071-2/+27
| |
* | Don't emit unsubscriptable-object for string annotations (#6536)Marc Mueller2022-05-079-9/+62
| |
* | Correct link to VSCode IDE integration documentation (#6534)Harry2022-05-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | * Correct link to VSCode IDE integration A link in the user guide claiming to point to VSCode IDE integration documentation was actually pointing to Visual Studio integration documentation. This corrects that link. Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Fix saving of persistent data files on different drives (#6526)Daniël van Noord2022-05-064-7/+75
| |