summaryrefslogtreecommitdiff
path: root/doc/user_guide
Commit message (Collapse)AuthorAgeFilesLines
* Load custom plugins when linting in parallel (#8683)Jacob Walls2023-05-141-4/+4
|
* Uniformize message and remove useless details.rstPierre Sassoulas2023-05-031-9/+15
|
* Add applicability notes for `compare-to-empty-string/zero` (#8592)Jason Lau2023-05-031-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 Sassoulas2023-05-024-18/+6
|
* Merge the compare-to-zero extensions to 'implicit_booleaness_checker'Pierre Sassoulas2023-05-024-17/+5
|
* Search for pyproject.toml config file in parent dirs (#7163)Mikhail f. Shiryaev2023-04-301-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 Noord2023-04-301-3/+3
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Modified all occurences of "a f-string" to "an f-string"Elazrod562023-04-201-3/+3
|
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-3/+3
|
* Add Python 3.8+ `asyncSetUp` to "defining-attr-methods" list (#8403)Samuel FORESTIER2023-03-111-2/+2
|
* [deprecation] epylint removal for pylint 3.0.0 (#8400)Pierre Sassoulas2023-03-081-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 Sassoulas2023-03-073-8/+20
|
* Support globbing pattern for input specification (#8312)Alexey Pelykh2023-03-011-0/+7
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add ``invalid-name`` check for ``TypeAlias`` names (#7116)Daniël van Noord2023-02-261-1/+1
|
* Add new checker `bad-chained-comparison` (#7990)Zen Lee2023-02-262-0/+14
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [doc] Add an example for 'non-ascii-file-name' (#8340)Pierre Sassoulas2023-02-252-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 Byrne2023-02-141-0/+2
| | | Closes #7867
* Support Implicit Namespace Packages (PEP 420) (#8153)Alexey Pelykh2023-02-092-0/+14
| | | Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
* Add import-based submodule detection for preferred-modules (#8186)Dave Bunten2023-02-081-1/+1
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix grammatical error in explanation of `global-statement (W0603)` (#8108)R. N. West2023-02-021-2/+2
|
* Update docs for `global-variable-not-assigned` (#8151)Dani Alcala2023-02-011-2/+3
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump pylint to 2.16.0, update changelogv2.16.0Pierre Sassoulas2023-02-011-1/+1
|
* Add `--allow-reexport-from-package` option (#8124)Marc Mueller2023-01-281-0/+9
|
* feat(6489): implement `positional-only-arguments-expected` checker (#8121)yushao22023-01-282-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)yushao22023-01-272-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 Sassoulas2023-01-241-4/+13
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* [subprocess-run-check] Better rationale and messagePierre Sassoulas2023-01-231-4/+5
|
* Bump pylint to 2.16.0-b0, update changelogv2.16.0b0Pierre Sassoulas2023-01-133-5/+5
|
* Add new check "pointless-exception-statement" (#7939)James Addison2023-01-072-0/+4
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [consider-using-sys-exit] Better rationale and added confidencePierre Sassoulas2022-12-281-2/+3
|
* [chore] Upgrade the generated documentationPierre Sassoulas2022-12-281-0/+1
|
* [doc] Upgrade the doc following the addition of clear-cache-post-run (#7958)Pierre Sassoulas2022-12-191-0/+9
|
* [doc] Upgrade generated doc and create example for ↵Pierre Sassoulas2022-12-053-2/+18
| | | | redundant-typehint-argument (#7904)
* Clearer ``reimported`` and new ``shadowed-import`` messages for aliased ↵Dani Alcala2022-11-302-1/+4
| | | | | | | import (#7756) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add a new check `dict-init-mutate` (#7794)Dani Alcala2022-11-232-0/+17
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* New checker `unbalanced dict unpacking` (#7750)Dani Alcala2022-11-202-0/+3
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Deprecation following the separation of emacs related file to ↵Pierre Sassoulas2022-11-191-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 Sassoulas2022-11-192-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)Cubicpath2022-11-191-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.route2022-11-181-0/+2
|
* Improve `invalid-slice-index` and add `invalid-slice-step` (#7762)Marc Mueller2022-11-142-0/+4
|
* Add named-expr-without-context check (#7763)Marc Mueller2022-11-142-0/+4
|
* Update documentation for checkers (#7764)Marc Mueller2022-11-132-5/+5
|
* Use qualified name when checking for overgeneral exceptions (#7497)Jakub Kuczys2022-11-131-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-kwargsRobert Hofer2022-11-091-3/+3
|
* [compare-to-zero] More actionnable and understandable messagePierre Sassoulas2022-11-071-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 Alcala2022-11-052-2/+6
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Upgrade the documentation, fix 'magic-value-comparison' doc (#7711)Pierre Sassoulas2022-11-054-6/+106
|
* @singledispatch and @singledispatchmethod checks for methods and functions ↵Ramon Saraiva2022-10-312-0/+8
| | | | | | (#7575) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Merge branch 'maintenance/2.15.x' into following 2.15.4 releasePierre Sassoulas2022-10-101-7/+10
|\