summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Add optional `prefer-typing-namedtuple` message (#8681)HEADmainJacob Walls2023-05-165-0/+22
| | | Closes #8660
* Add new checker `kwarg-superseded-by-positional-arg` and fix a false ↵Mark Byrne2023-05-163-0/+13
| | | | | | | | | | positive (#8644) * Fix a false positive for ``redundant-keyword-arg`` when a function, with a keyword-only-parameter and ``**kwargs``, is called with a positional argument and a keyword argument where the keyword argument has the same name as the positional-only-parameter. * Add new checker ``kwarg-superseded-by-positional-arg`` which emits a warning message for the above scenario. Closes #8558 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix a false negative for ``too-many-arguments`` and positional-only and ↵Mark Byrne2023-05-151-0/+3
| | | | | | | | keyword-only arguments (#8674) Closes #8667
* Load custom plugins when linting in parallel (#8683)Jacob Walls2023-05-142-4/+9
|
* Fix crash when deleting from a dict returned from a call (#8678)Jacob Walls2023-05-121-0/+4
|
* Merge maintenance-2.17.x in main following 2.17.4 releasePierre Sassoulas2023-05-062-0/+35
|\
| * Bump pylint to 2.17.4, update changelogv2.17.4Pierre Sassoulas2023-05-064-10/+31
| | | | | | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
| * [changelog] Add a changelog entry for #8632Pierre Sassoulas2023-05-051-0/+4
| |
| * Make sure a ``tool`` table is created in ``toml`` generation (#8638) (#8640)github-actions[bot]2023-04-303-8/+6
| | | | | | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 434d49f69a65adf75c86dd9629ffbb6d8300df67) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
| * [tomlkit] Limit the maximum version of tomlkit (#8633) (#8635)github-actions[bot]2023-04-281-0/+4
| | | | | | | | | | (cherry picked from commit a59f3d588a72ec4e5702f988064dd62bb408ccb8) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
| * Added escaping of vertical bar character in annotation labels (#8610) (#8631)Andreas Finkler2023-04-271-0/+3
| |
| * Fix a false positive for ``bad-dunder-name`` when there is a user-defined ↵github-actions[bot]2023-04-241-0/+3
| | | | | | | | | | | | | | | | | | ``__index__`` method. (#8619) (#8622) Closes #8613 (cherry picked from commit f223c6de3a39eae6d1c76e30b55da28639dd8777) Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
* | [Doc] Minor fixup in launching_test.rstLucas Cimon2023-05-051-1/+1
| |
* | Uniformize message and remove useless details.rstPierre Sassoulas2023-05-035-19/+18
| |
* | 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`.
* | Upgrade 'tox - docs' to match readthedoc online and for performance (#8653)Pierre Sassoulas2023-05-032-1/+8
| |
* | [doc] Add warning for empty sequences in ↵Pierre Sassoulas2023-05-024-13/+17
| | | | | | | | 'use-implicit-booleaness-not-comparison'
* | Merge the empty-string extensions to 'implicit_booleaness_checker'Pierre Sassoulas2023-05-0212-40/+29
| |
* | Merge the compare-to-zero extensions to 'implicit_booleaness_checker'Pierre Sassoulas2023-05-0212-35/+34
| |
* | [doc] Apply black on the documentation where it makes sense (#8650)Pierre Sassoulas2023-05-02148-161/+221
| | | | | | Co-authored-by: Daniel van Noord <13665637+DanielNoord@users.noreply.github.com>
* | [Doc] Improving implicit-str-concat/details.rst (#8649)Lucas Cimon2023-05-012-1/+13
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | [Doc] Create implicit-str-concat/details.rst (#8648)Lucas Cimon2023-05-011-0/+15
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Search for pyproject.toml config file in parent dirs (#7163)Mikhail f. Shiryaev2023-04-302-0/+6
| | | | | | | | 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-303-8/+6
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Fix false negative for calling module-level function before definition (#8494)Jacob Walls2023-04-291-0/+3
| |
* | [tomlkit] Limit the maximum version of tomlkit (#8633)Pierre Sassoulas2023-04-281-0/+4
| |
* | Added escaping of vertical bar character in annotation labels (#8610)ViRuSTriNiTy2023-04-261-0/+3
| |
* | Drop support for Python 3.7 (#8609)Marc Mueller2023-04-242-6/+4
| | | | | | | | | | * Drop support for Python 3.7 * Update py-version + classifier * Update functional tests
* | Merge maintenance 2.17.x in main (#8621)Pierre Sassoulas2023-04-241-0/+58
|\ \
| * \ Merge branch 'maintenance/2.17.x' following 2.17.3 releasePierre Sassoulas2023-04-241-0/+58
| |\ \ | | |/
| | * Bump pylint to 2.17.3, update changelog (#8620)v2.17.3Pierre Sassoulas2023-04-2410-28/+58
| | |
| | * Improve output of `consider-using-generator` message for `min()` calls with ↵github-actions[bot]2023-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | `default` keyword (#8582) (#8583) (cherry picked from commit 4a485e28f0a5118b37550123c79f1f6d0dec42a4) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
| | * Fix false positive for ``keyword-arg-before-vararg`` (#8571) (#8578)github-actions[bot]2023-04-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix false positive for ``keyword-arg-before-vararg`` when a positional-only parameter with a default value precedes ``*args``. Closes #8570 (cherry picked from commit 56fa5dce747a46f1dcba6eca003bb22fcc347247) Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
| | * Fix `unused-import` to check`dummy-variables-rgx` (#8566) (#8568)github-actions[bot]2023-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Resolve #8500 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 0cd41b1fb15e31eb311b61f93bc27f7cacc2f7ac) Co-authored-by: RSTdefg <34202999+RSTdefg@users.noreply.github.com>
| | * Fix false positive for ``positional-only-arguments-expected`` when a ↵github-actions[bot]2023-04-101-0/+3
| | | | | | | | | | | | | | | | | | | | | function contains both a positional-only parameter that has a default value, and ``**kwargs``. (#8556) (#8560) (cherry picked from commit db17860fd61154c59f3acc13ff34b120cc5ba091) Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
| | * Fix isinstance-second-argument-not-valid-type for union types with NoneRogdham2023-04-071-0/+3
| | | | | | | | | | | | (cherry picked from commit b5f2b01635edd23fecc1546f3fdb2a41e6a51995)
| | * Fix typelias `invalid-name` false positives for Union variables without ↵github-actions[bot]2023-04-071-0/+4
| | | | | | | | | | | | | | | | | | | | | assignment. (#8541) (#8548) (cherry picked from commit cb255eaaed8bba6bec1f7bf5d4cde15821c1dd46) Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
| | * Do not emit `logging-not-lazy` for explicitly concatenated strings. (#8546)Yilei "Dolee" Yang2023-04-071-0/+3
| | | | | | | | | | | | (cherry picked from commit eeddd667a6e73ef58fb47cdda154c1751f0ffe71)
| | * Fix check unused arguments false positive bug (#8542) (#8545)github-actions[bot]2023-04-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: the special method `__new__` must match the arguments of the `__init__` method even if `__new__` method does not use them. This generate `unused-argument` for the `__new__` method. Fix: the unused arguments check should not be done on the `__new__` method if the `__init__` method is defined in the same class. Update `unused-argument` test to include a check for the case of `__init__` and `__new__` being defined in a class but `__new__` does not use all of the argument. This is fine because `__new__` must have the same argument of `__init__`. Update with a second check in case of `__init__` being not defined in a class. Then the unused arguments check must be done on `__new__`. Fixes https://github.com/pylint-dev/pylint/issues/3670 (cherry picked from commit 156da64d0fb4c06e15c5b619b91ce550d594a770) Co-authored-by: Théo Battrel <theo.util@protonmail.ch>
* | | Fix a false positive for ``bad-dunder-name`` when there is a user-defined ↵Mark Byrne2023-04-241-0/+3
|/ / | | | | | | | | ``__index__`` method. (#8619) Closes #8613
* | Bump sphinx from 6.1.3 to 6.2.0 (#8617)dependabot[bot]2023-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 6.1.3 to 6.2.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v6.1.3...v6.2.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Optimize `is_trailing_comma()` (#8606)Jacob Walls2023-04-231-1/+2
| | | | | | Skip is_trailing_comma() call unless `trailing-comma-tuple` enabled
* | Add news fragmentJacob Walls2023-04-231-0/+3
| |
* | Modified all occurences of "a f-string" to "an f-string"Elazrod562023-04-202-4/+4
| |
* | Fix FP `used-before-assignment` for statements guarded under same test (#8581)Jacob Walls2023-04-161-0/+4
| |
* | Improve output of `consider-using-generator` message for `min()` calls with ↵Jacob Walls2023-04-161-0/+3
| | | | | | | | `default` keyword (#8582)
* | Fix `used-before-assignment` TYPE_CHECKING false negatives (#8431)Zen Lee2023-04-151-0/+4
| | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* | Fix false negative for no-value-for-parameter: positional-only args and ↵Mark Byrne2023-04-141-0/+3
| | | | | | | | **kwargs (#8575)
* | Fix false positive for ``keyword-arg-before-vararg`` (#8571)Mark Byrne2023-04-131-0/+3
| | | | | | | | | | * Fix false positive for ``keyword-arg-before-vararg`` when a positional-only parameter with a default value precedes ``*args``. Closes #8570
* | Fix `unused-import` to check`dummy-variables-rgx` (#8566)RSTdefg2023-04-121-0/+3
| | | | | | | | | | Resolve #8500 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>