Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Load custom plugins when linting in parallel (#8683) | Jacob Walls | 2023-05-14 | 1 | -4/+4 |
| | |||||
* | Uniformize message and remove useless details.rst | Pierre Sassoulas | 2023-05-03 | 1 | -9/+15 |
| | |||||
* | Add applicability notes for `compare-to-empty-string/zero` (#8592) | Jason Lau | 2023-05-03 | 1 | -4/+4 |
| | | | | | | The extension `compare-to-empty-string` is only applicable when the expression being compared is strictly a `str`. The extension `compare-to-zero` is only applicable when the expression being compared is strictly an `int`. | ||||
* | Merge the empty-string extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 4 | -18/+6 |
| | |||||
* | Merge the compare-to-zero extensions to 'implicit_booleaness_checker' | Pierre Sassoulas | 2023-05-02 | 4 | -17/+5 |
| | |||||
* | Search for pyproject.toml config file in parent dirs (#7163) | Mikhail f. Shiryaev | 2023-04-30 | 1 | -0/+3 |
| | | | | 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 | -3/+3 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Modified all occurences of "a f-string" to "an f-string" | Elazrod56 | 2023-04-20 | 1 | -3/+3 |
| | |||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 1 | -3/+3 |
| | |||||
* | Add Python 3.8+ `asyncSetUp` to "defining-attr-methods" list (#8403) | Samuel FORESTIER | 2023-03-11 | 1 | -2/+2 |
| | |||||
* | [deprecation] epylint removal for pylint 3.0.0 (#8400) | Pierre Sassoulas | 2023-03-08 | 1 | -72/+3 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Bump pylint to 2.17.0, update changelog (#8395) | Pierre Sassoulas | 2023-03-07 | 3 | -8/+20 |
| | |||||
* | Support globbing pattern for input specification (#8312) | Alexey Pelykh | 2023-03-01 | 1 | -0/+7 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``invalid-name`` check for ``TypeAlias`` names (#7116) | Daniël van Noord | 2023-02-26 | 1 | -1/+1 |
| | |||||
* | Add new checker `bad-chained-comparison` (#7990) | Zen Lee | 2023-02-26 | 2 | -0/+14 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [doc] Add an example for 'non-ascii-file-name' (#8340) | Pierre Sassoulas | 2023-02-25 | 2 | -17/+16 |
| | | | | | And move links to related.rst Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | ||||
* | Add documentation for adding Pylint configuration to ``tox.ini``. (#8294) | Mark Byrne | 2023-02-14 | 1 | -0/+2 |
| | | | Closes #7867 | ||||
* | 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> | ||||
* | Add import-based submodule detection for preferred-modules (#8186) | Dave Bunten | 2023-02-08 | 1 | -1/+1 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix grammatical error in explanation of `global-statement (W0603)` (#8108) | R. N. West | 2023-02-02 | 1 | -2/+2 |
| | |||||
* | Update docs for `global-variable-not-assigned` (#8151) | Dani Alcala | 2023-02-01 | 1 | -2/+3 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bump pylint to 2.16.0, update changelogv2.16.0 | Pierre Sassoulas | 2023-02-01 | 1 | -1/+1 |
| | |||||
* | Add `--allow-reexport-from-package` option (#8124) | Marc Mueller | 2023-01-28 | 1 | -0/+9 |
| | |||||
* | feat(6489): implement `positional-only-arguments-expected` checker (#8121) | yushao2 | 2023-01-28 | 2 | -1/+6 |
| | | | | | | | * feat(6489): implement positional-only-arguments-expected checker * Update doc/user_guide/configuration/all-options.rst * update good/bad examples | ||||
* | Add `consider-refactoring-into-while-condition` checker (#8021) | yushao2 | 2023-01-27 | 2 | -0/+18 |
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | [doc] Add details and related links for bare/broad-except (#8077) | Pierre Sassoulas | 2023-01-24 | 1 | -4/+13 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | [subprocess-run-check] Better rationale and message | Pierre Sassoulas | 2023-01-23 | 1 | -4/+5 |
| | |||||
* | Bump pylint to 2.16.0-b0, update changelogv2.16.0b0 | Pierre Sassoulas | 2023-01-13 | 3 | -5/+5 |
| | |||||
* | Add new check "pointless-exception-statement" (#7939) | James Addison | 2023-01-07 | 2 | -0/+4 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | [consider-using-sys-exit] Better rationale and added confidence | Pierre Sassoulas | 2022-12-28 | 1 | -2/+3 |
| | |||||
* | [chore] Upgrade the generated documentation | Pierre Sassoulas | 2022-12-28 | 1 | -0/+1 |
| | |||||
* | [doc] Upgrade the doc following the addition of clear-cache-post-run (#7958) | Pierre Sassoulas | 2022-12-19 | 1 | -0/+9 |
| | |||||
* | [doc] Upgrade generated doc and create example for ↵ | Pierre Sassoulas | 2022-12-05 | 3 | -2/+18 |
| | | | | redundant-typehint-argument (#7904) | ||||
* | Clearer ``reimported`` and new ``shadowed-import`` messages for aliased ↵ | Dani Alcala | 2022-11-30 | 2 | -1/+4 |
| | | | | | | | import (#7756) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add a new check `dict-init-mutate` (#7794) | Dani Alcala | 2022-11-23 | 2 | -0/+17 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | New checker `unbalanced dict unpacking` (#7750) | Dani Alcala | 2022-11-20 | 2 | -0/+3 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Deprecation following the separation of emacs related file to ↵ | Pierre Sassoulas | 2022-11-19 | 1 | -6/+4 |
| | | | | | | | https://github.com/emacsorphanage/pylint (#7783) Co-authored-by: Jonas Bernoulli <jonas@bernoul.li> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Better error message for unpacking-non-sequence and ↵ | Pierre Sassoulas | 2022-11-19 | 2 | -5/+5 |
| | | | | | | | | unbalanced-tuple-unpacking (#7778) Necessary to be able to do https://github.com/PyCQA/pylint/pull/7750 without thinking about it. Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | ||||
* | Fix `valid-metaclass-classmethod-first-arg` default value (#7791) | Cubicpath | 2022-11-19 | 1 | -2/+2 |
| | | | | | * Change default value to "mcs" * Fix functional tests to use "mcs" for first MetaClass classmethod arg | ||||
* | [doc] Add link to Sublime Text integration (#7792) | sur.la.route | 2022-11-18 | 1 | -0/+2 |
| | |||||
* | Improve `invalid-slice-index` and add `invalid-slice-step` (#7762) | Marc Mueller | 2022-11-14 | 2 | -0/+4 |
| | |||||
* | Add named-expr-without-context check (#7763) | Marc Mueller | 2022-11-14 | 2 | -0/+4 |
| | |||||
* | Update documentation for checkers (#7764) | Marc Mueller | 2022-11-13 | 2 | -5/+5 |
| | |||||
* | Use qualified name when checking for overgeneral exceptions (#7497) | Jakub Kuczys | 2022-11-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update tests * Use qualified name when checking for overgeneral exceptions * WIP: Add deprecation warning * Add changelog fragment * Use qualified name in test case * spell check fix * Update changelog fragment with suggested fixes Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> * Move OVERGENERAL_EXCEPTIONS directly to the default value in dict * Mark as TODO for pylint 3.0 * Properly warn on each occurrence of name without dots * Update the warning per the review * Rephrase the warning to mention pylint 3.0 * Remove unnecessary nesting of the if condition * Quote the exception name in deprecation warning * Use config value for overgeneral exceptions in broad-exception-raised * Infer qualified name of the exception in broad-exception-raised * e.g. -> maybe? Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> * Suppress missing class docstrings * Add few more tests for broad-exception-raised Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> * Fix unexpected missing-raise-from * Revert "Fix unexpected missing-raise-from" This reverts commit d796e72035b7f7578b9e6bb1e45a30935e80b009. * Revert "Add few more tests for broad-exception-raised" This reverts commit e5a193ee136f8566d43450fbb9fbf28cc717d307. * Change confidence of broad-exception-raised from HIGH to INFERENCE * Only trigger broad-exception-raised for raise with new exc instance * Update overgeneral-exceptions definition in example pylintrc file * Update pylint/checkers/exceptions.py Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add R1737 use-dict-literal-without-kwargs | Robert Hofer | 2022-11-09 | 1 | -3/+3 |
| | |||||
* | [compare-to-zero] More actionnable and understandable message | Pierre Sassoulas | 2022-11-07 | 1 | -1/+1 |
| | | | | | | Originally done in order to normalize the use-implicit-booleaness check. This make the message more understandable and permit to make #6870 more reviewable. | ||||
* | Rename `broad-except` and new check `broad-exception-raised` (#7709) | Dani Alcala | 2022-11-05 | 2 | -2/+6 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Upgrade the documentation, fix 'magic-value-comparison' doc (#7711) | Pierre Sassoulas | 2022-11-05 | 4 | -6/+106 |
| | |||||
* | @singledispatch and @singledispatchmethod checks for methods and functions ↵ | Ramon Saraiva | 2022-10-31 | 2 | -0/+8 |
| | | | | | | (#7575) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Merge branch 'maintenance/2.15.x' into following 2.15.4 release | Pierre Sassoulas | 2022-10-10 | 1 | -7/+10 |
|\ |