Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump pylint to 2.15.3, update changelogv2.15.3 | Pierre Sassoulas | 2022-09-19 | 9 | -21/+26 |
| | |||||
* | Bump astroid to 2.12.10 | Pierre Sassoulas | 2022-09-19 | 9 | -10/+12 |
| | |||||
* | Fix `undefined-loop-variable` with `NoReturn` and `Never` (#7476) | Daniël van Noord | 2022-09-19 | 8 | -18/+96 |
| | | | | | Co-authored-by: detachhead <detachhead@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Accept a comma-separated list of messages IDs in ``--help-msg`` (#7490) | Daniël van Noord | 2022-09-19 | 3 | -1/+9 |
| | |||||
* | False positive `global-variable-not-assigned` (#7479) | Mark Byrne | 2022-09-19 | 6 | -18/+22 |
| | | | | | | | * Fix false positive for ``global-variable-not-assigned`` when a global variable is re-assigned via a ``ImportFrom`` node. Closes #4809 Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | [invalid-class-object] Fix crash when __class__ is defined with a tuple | Pierre Sassoulas | 2022-09-19 | 4 | -3/+63 |
| | | | | Closes #7467 | ||||
* | Fix a crash in the `modified-iterating-dict` checker involving instance ↵ | Jacob Walls | 2022-09-19 | 3 | -4/+23 |
| | | | | attributes (#7472) | ||||
* | Fix `unhashable-member` crash when `lambda` used as a dict key (#7454) | Jacob Walls | 2022-09-19 | 3 | -0/+6 |
| | |||||
* | Bump pylint to 2.15.2, update changelogv2.15.2 | Pierre Sassoulas | 2022-09-07 | 5 | -12/+19 |
| | |||||
* | Upgrade astroid version following 2.12.9 release | Pierre Sassoulas | 2022-09-07 | 9 | -9/+9 |
| | |||||
* | Add more cases that emit bad-plugin-value (#7284) | Drummond Ogilvie | 2022-09-07 | 4 | -15/+221 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add x-failing test for issue 7264 case 3 This is the case where a plugin can be imported only after the init-hook is run, and the init hook is specified in a pylintrc file We would expect the module to not load in any case, and cause the emission of a bad-plugin-value message. * _dynamic_plugins is a dict not a set This is in preparation for caching the loaded modules, and for storing other information that will help in identifying times loading is dependent on init-hook magic. * Use cached module objects for load_configuration This fixes case 3 in #7264, and is technically a breaking change, in that it now emits a message for what would have previously been a silent failure. * Interim review comment fixes 1. Remove the xfail that snuck back in after the rebases. 2. Now that fake_home yields a str, update the type hint. * Add test for bad plugin with duplicated load This is case 6 in issue #7264, and represents the other silent failure that is being made non-silent by this change. * Apply review feedback - Add an ordering test for CLI arguments - Add clarifying comments on affected functions - Tidy up test assertions to be more pythonic Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bump pylint to 2.15.1, update changelogv2.15.1 | Pierre Sassoulas | 2022-09-06 | 11 | -29/+47 |
| | |||||
* | Fix and refactors for ``docparams`` extension (#7398) | Daniël van Noord | 2022-09-06 | 5 | -22/+53 |
| | | | | | | | | | | | * Fix and refactors for ``docparams`` extension The ``re_only_desc`` regex did not match for white and characters after ``\n``, so some description-only lines weren't getting matched. In addition, lookaheads were added to ``re_param_line`` (i.e. make sure the type group is not followed by a new line (``\n``)). Lastly, named groups (ala Perl regular expressions) were added for slightly improved clarity. Co-authored-by: Hendry, Adam <adam.grant.hendry@gmail.com> | ||||
* | Fix 2.15 changelog (#7369) | Marc Mueller | 2022-09-06 | 2 | -4/+4 |
| | |||||
* | Suppress ``OSError`` in config file discovery (#7423) | Daniël van Noord | 2022-09-06 | 3 | -10/+54 |
| | |||||
* | Make ``missing-yield/raises-doc`` respect ``no-docstring-rgx`` option | Daniël van Noord | 2022-09-06 | 5 | -3/+29 |
| | |||||
* | Upgrade astroid version following 2.12.8 release | Pierre Sassoulas | 2022-09-06 | 9 | -10/+10 |
| | |||||
* | Make ``disable-next`` only consider the succeeding line (#7411) | Daniël van Noord | 2022-09-06 | 6 | -22/+54 |
| | |||||
* | Make ``missing-return-doc`` respect the ``no-docstring-rgx`` option (#7410) | Daniël van Noord | 2022-09-06 | 6 | -22/+54 |
| | |||||
* | Fix #3299 false positives with names in string literal type annotations (#7400) | Levi Gruspe | 2022-09-06 | 12 | -1/+167 |
| | | | | | Don't emit 'unused-variable' or 'unused-import' on names in string literal type annotations (#3299) Don't treat strings inside typing.Literal as names | ||||
* | Do not lint ignored file on stdin (#7220) | Christoph Blessing | 2022-09-06 | 3 | -6/+28 |
| | | | | | | Previously pylint would lint a file passed on stdin even if the user meant to ignore the file. This commit fixes that issue. Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix false positive for ``too-many-function-args`` when a function call is ↵ | Mark Byrne | 2022-09-06 | 3 | -1/+34 |
| | | | | | assigned to a class attribute inside the class where the function is defined. (#7395) Closes #6592 | ||||
* | Fix crash while iteraring over a class attribute (#7386) | Daniël van Noord | 2022-09-06 | 4 | -4/+24 |
| | | | Co-authored-by: orSolocate <38433858+orSolocate@users.noreply.github.com> | ||||
* | Fix `used-before-assignment` for functions/classes defined in type checking ↵ | Rogdham | 2022-09-06 | 4 | -12/+28 |
| | | | | | | guard Close #7368 | ||||
* | Bump pylint to 2.16.0-dev, update changelog (#7363) | Pierre Sassoulas | 2022-08-26 | 5 | -4/+21 |
| | |||||
* | Bump pylint to 2.15.0, update changelog (#7355)v2.15.0 | Pierre Sassoulas | 2022-08-26 | 42 | -135/+175 |
| | | | * Add Marc Byrne to the maintainer team | ||||
* | Update `tox.ini` (#7358) | Mark Byrne | 2022-08-26 | 1 | -6/+4 |
| | | | | | | - Install `requirements_test.txt` into `formatting` & `pylint` environments. `import-error` was showing during the `pylint` run for `contributors-txt` & `colorama` in these two environments. - Bump `minversion` to match the version in `requirements_test.txt`. - Bump `pre-commit` dependency version in the `mypy` environment to match the version in `requirements_test.txt`. | ||||
* | [literal-comparison] Cleanup of identical/duplicated functional tests | Pierre Sassoulas | 2022-08-25 | 2 | -21/+4 |
| | |||||
* | [literal-comparison] Make the message explicit with the solution | Pierre Sassoulas | 2022-08-25 | 7 | -26/+43 |
| | | | | | | Also update the confidence Closes #5237 | ||||
* | Upgrade astroid version following 2.12.4 release (#7356) | Pierre Sassoulas | 2022-08-25 | 9 | -9/+9 |
| | |||||
* | Add tests for PyCQA#5767 | Daniël van Noord | 2022-08-24 | 3 | -0/+32 |
| | |||||
* | Bump TODOs to the next minor version in preparation of release (#7349) | Daniël van Noord | 2022-08-24 | 2 | -2/+2 |
| | |||||
* | Revert "[test] Temporary xfail deprecated methods py36 on pypy (#7244)" (#7345) | Pierre Sassoulas | 2022-08-23 | 2 | -7/+0 |
| | | | This reverts commit 90884856a3e2c3531d678a31a4455270a75bc6c7. | ||||
* | Upgrade astroid version following 2.12.3 release (#7344) | Pierre Sassoulas | 2022-08-23 | 9 | -9/+9 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate | pre-commit-ci[bot] | 2022-08-22 | 1 | -2/+2 |
| | | | | | | updates: - [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.0) - [github.com/DanielNoord/pydocstringformatter: v0.6.2 → v0.7.0](https://github.com/DanielNoord/pydocstringformatter/compare/v0.6.2...v0.7.0) | ||||
* | Use permanent links in the primer comment (#7332) | Daniël van Noord | 2022-08-22 | 10 | -157/+194 |
| | |||||
* | Bump actions/cache from 3.0.7 to 3.0.8 (#7337) | dependabot[bot] | 2022-08-22 | 7 | -21/+21 |
| | | | | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 3.0.7 to 3.0.8. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.0.7...v3.0.8) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | Don't emit ``trailing-whitespace`` twice for multi-line docstrings (#7335) | Daniël van Noord | 2022-08-22 | 4 | -8/+33 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Check for ``contextlib.suppress`` in ``node_ignores_exception`` (#7327) | Daniël van Noord | 2022-08-22 | 4 | -5/+91 |
| | |||||
* | Skip ``unnecessary-list-index-lookup`` if we encounter if statements (#7334) | Daniël van Noord | 2022-08-22 | 3 | -0/+21 |
| | |||||
* | Fix ``mypy`` issues in primer | Daniël van Noord | 2022-08-21 | 2 | -12/+14 |
| | |||||
* | Use warnings | Daniël van Noord | 2022-08-21 | 1 | -2/+5 |
| | |||||
* | Fix up the message about ``astroid-error`` in the comment | Daniël van Noord | 2022-08-21 | 1 | -4/+2 |
| | |||||
* | Remove warning on failed primer comment run | Daniël van Noord | 2022-08-21 | 1 | -7/+0 |
| | |||||
* | Assert on fatal errors in primer | Daniël van Noord | 2022-08-21 | 1 | -41/+22 |
| | |||||
* | Add regression test for #3651 (#7117) | Jacob Walls | 2022-08-21 | 1 | -0/+32 |
| | |||||
* | Prevent `useless-parent-delegation` for overriding `Exception.__init__` with ↵ | Jacob Walls | 2022-08-21 | 3 | -0/+11 |
| | | | | new args | ||||
* | Add a functional test for the `useless-parent-delegation` checker. (#7326) | Mark Byrne | 2022-08-21 | 2 | -25/+37 |
| | | | Closes #7287 | ||||
* | Fix `undefined-loop-variable` from walrus in comprehension test (#7324) | Jacob Walls | 2022-08-20 | 4 | -0/+31 |
| | |||||
* | Add enum regression test (#7323) | Marc Mueller | 2022-08-20 | 1 | -0/+24 |
| |