summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor refactor on type annotation (#8587)Zen Lee2023-04-181-1/+3
|
* Fix FP `used-before-assignment` for statements guarded under same test (#8581)Jacob Walls2023-04-164-1/+89
|
* Improve output of `consider-using-generator` message for `min()` calls with ↵Jacob Walls2023-04-164-1/+14
| | | | `default` keyword (#8582)
* Cope with changes to `Arguments` constructorJacob Walls2023-04-161-1/+1
|
* Cope with changes to `AssignAttr` constructorJacob Walls2023-04-161-1/+8
|
* Cope with changes to `Starred` constructorJacob Walls2023-04-161-1/+9
|
* Fix `used-before-assignment` TYPE_CHECKING false negatives (#8431)Zen Lee2023-04-154-20/+86
| | | | 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-145-0/+26
| | | | **kwargs (#8575)
* Disable Info linters in definition instead of Run class (#8576)Matus Valo2023-04-144-9/+30
|
* Fix false positive for ``keyword-arg-before-vararg`` (#8571)Mark Byrne2023-04-135-1/+28
| | | | | * 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-124-5/+20
| | | | | Resolve #8500 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* [pre-commit.ci] pre-commit autoupdate (#8564)pre-commit-ci[bot]2023-04-111-3/+3
| | | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.260 → v0.0.261](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.260...v0.0.261) - [github.com/charliermarsh/ruff-pre-commit: v0.0.260 → v0.0.261](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.260...v0.0.261) - [github.com/pre-commit/mirrors-mypy: v1.1.1 → v1.2.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.1.1...v1.2.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Bump actions/github-script from 6.4.0 to 6.4.1 (#8561)dependabot[bot]2023-04-102-3/+3
| | | | | | | | | | | | | | | Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6.4.0...v6.4.1) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix false positive for ``positional-only-arguments-expected`` when a ↵Mark Byrne2023-04-093-0/+23
| | | | function contains both a positional-only parameter that has a default value, and ``**kwargs``. (#8556)
* Also check the typealias naming style for TypeAlias variables defined in ↵Yilei "Dolee" Yang2023-04-074-1/+21
| | | | functions. (#8537)
* Fix isinstance-second-argument-not-valid-type for union types with NoneRogdham2023-04-074-9/+19
|
* Fix typelias `invalid-name` false positives for Union variables without ↵Yilei "Dolee" Yang2023-04-074-7/+11
| | | | assignment. (#8541)
* Do not emit `logging-not-lazy` for explicitly concatenated strings. (#8546)Yilei "Dolee" Yang2023-04-074-8/+29
|
* Fix check unused arguments false positive bug (#8542)Théo Battrel2023-04-064-0/+36
| | | | | | | | | | | | | | | | | | | 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
* [pre-commit.ci] pre-commit autoupdate (#8539)pre-commit-ci[bot]2023-04-041-3/+3
| | | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.259 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.259...v0.0.260) - [github.com/charliermarsh/ruff-pre-commit: v0.0.259 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.259...v0.0.260) - [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Handle patterns in ignored-modules when checking for no-name-in-module (#7579)Daniel Mouritzen2023-04-038-48/+40
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jared Proffitt <jaredproffitt@gmail.com>
* Merge maintenance 2.17.x in main following 2.17.2 release (#8534)Pierre Sassoulas2023-04-031-0/+36
|\
| * Merge 'maintenance/2.17.x' in main following 2.17.2 releasePierre Sassoulas2023-04-031-0/+36
| |\ |/ /
| * Bump pylint to 2.17.2, update changelog (#8533)v2.17.2Pierre Sassoulas2023-04-038-19/+39
| |
| * [Backport maintenance/2.17.x] Add regression test for #7506 (#8531)github-actions[bot]2023-04-034-8/+15
| | | | | | | | | | | | | | | | | | | | * Add regression test for #7506 (#8432) (cherry picked from commit 1fa16c2d8a7e97223541069731d28896f651b1ab) --------- Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
| * Upgrade astroid to 2.15.2 (#8530) (#8532)Pierre Sassoulas2023-04-032-3/+3
| |
| * [pyreverse] Bugfix: strip "/" at the end of the file (#8517) (#8528)github-actions[bot]2023-04-023-1/+21
| | | | | | | | | | | | | | Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 6ad17fb758361f50210f4cb5a4fd34494034f4e0) Co-authored-by: Alvaro Frias <alvaro.frias@eclypsium.com>
| * Don't use removed function from ``astroid`` (#8525) (#8526)github-actions[bot]2023-04-021-5/+11
| | | | | | | | | | (cherry picked from commit f7bd67604f395cd50734b9559acc37ae5d34ce4b) Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
| * [Backport maintenance/2.17.x] Allow integers in TypeAlias names. (#8507)github-actions[bot]2023-03-285-16/+27
| | | | | | | | Co-authored-by: Stephane Odul <1504511+sodul@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
| * Fix `unnecessary-lambda` false positive for lambdas using its parameters in ↵github-actions[bot]2023-03-284-0/+26
| | | | | | | | | | | | | | | | | | their body (#8498) (#8506) Fixes #8496 (cherry picked from commit b62143611a4713e4729ce9ecb6398f5f94d82f1a) Co-authored-by: cherryblossom <31467609+cherryblossom000@users.noreply.github.com>
| * Don't consider ``Union`` to always be a type alias (#8489)Daniël van Noord2023-03-233-1/+14
| | | | | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 07127ee75f3456920ff5117cdbaf8697744b6cfc)
* | Upgrade astroid to 2.15.2 (#8530)Pierre Sassoulas2023-04-032-2/+2
| |
* | Add regression test for #7506 (#8432)Jacob Walls2023-04-034-8/+15
| |
* | refactor pyreverse tests to use temporary directory (#8529)Andreas Finkler2023-04-021-15/+7
| |
* | [pyreverse] Bugfix: strip "/" at the end of the file (#8517)Alvaro Frias2023-04-023-1/+21
| | | | | | | | Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Add Pyreverse option to exclude standalone nodes (#8520)Nick Drozd2023-04-0211-0/+84
| | | | | | | | | | | | | | | | | | | | | | * Add Pyreverse option to exclude standalone nodes * Add test * Add package test * Fix test names * Clean up test files
* | Don't use removed function from ``astroid`` (#8525)Daniël van Noord2023-04-011-5/+11
| |
* | Bump pylint to 3.0.0b1, update changelogPierre Sassoulas2023-04-012-2/+2
| |
* | Bump pylint to 3.0.0a6, update changelogv3.0.0a6Pierre Sassoulas2023-04-012-4/+7
| |
* | [changelog] Classify all non user-facing changes as 'internal'Pierre Sassoulas2023-04-018-5/+9
| |
* | Move dockerfile to the example directory bump to alpine3.17 (#8353)Alex Mor2023-04-011-1/+1
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | [doc] Fix missing spaces in 2.13's whatsnew (#8519)Pierre Sassoulas2023-03-311-3/+3
| |
* | [cleanup] Upgrade more doc following the PyCQA migrationPierre Sassoulas2023-03-3133-58/+58
| |
* | [doc] Create a variable for the contributors descriptionPierre Sassoulas2023-03-311-5/+4
| |
* | Upgrade cache version because primer now fetch pylint-dev/astroidPierre Sassoulas2023-03-315-5/+5
| |
* | Fix `used-before-assignment` false positive for `TYPE_CHECKING` elif branch ↵Zen Lee2023-03-308-164/+145
| | | | | | | | | | | | imports (#8441) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-29503-1221/+1225
| |
* | Bump astroid from 2.15.0 to 2.15.1 (#8513)dependabot[bot]2023-03-292-2/+2
| |
* | Bump furo from 2022.12.7 to 2023.3.27dependabot[bot]2023-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [furo](https://github.com/pradyunsg/furo) from 2022.12.7 to 2023.3.27. - [Release notes](https://github.com/pradyunsg/furo/releases) - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md) - [Commits](https://github.com/pradyunsg/furo/compare/2022.12.07...2023.03.27) --- updated-dependencies: - dependency-name: furo dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | Bump actions/checkout from 3.4.0 to 3.5.0dependabot[bot]2023-03-299-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.4.0...v3.5.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>