Update dependency pylint to v2.17.7 #58

Merged
renovate[bot] merged 1 commits from renovate/pylint-2.x into main 2023-10-03 10:41:24 +02:00
renovate[bot] commented 2023-09-25 14:15:24 +02:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pylint (changelog) ==2.17.5 -> ==2.17.7 age adoption passing confidence

Release Notes

pylint-dev/pylint (pylint)

v2.17.7

Compare Source

2.17.7 is the last release before we only support pylint 3.0.0 or superior and python 3.8 or superior.

False Positives Fixed

  • Fix a regression in pylint 2.17.6 / astroid 2.15.7 causing various
    messages for code involving TypeVar.

    Closes #​9069

Other Bug Fixes

  • Fix crash in refactoring checker when unary operand used with variable in for
    loop.

    Closes #​9074

v2.17.6

Compare Source

Other Bug Fixes

  • When parsing comma-separated lists of regular expressions in the config,
    ignore commas that are inside braces since those indicate quantifiers, not
    delineation between expressions.

    Closes #​7229

  • sys.argv is now always correctly considered as impossible to infer
    (instead of using the actual values given to pylint).

    Closes #​9047

  • Don't show class fields more than once in Pyreverse diagrams.

    Closes #​8189

  • Don't show arrows more than once in Pyreverse diagrams.

    Closes #​8522

  • Don't show duplicate type annotations in Pyreverse diagrams.

    Closes #​8888

  • Don't add Optional to | annotations with None in Pyreverse diagrams.

    Closes #​9014


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pylint](https://togithub.com/pylint-dev/pylint) ([changelog](https://pylint.readthedocs.io/en/latest/whatsnew/2/)) | `==2.17.5` -> `==2.17.7` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pylint/2.17.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pylint/2.17.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pylint/2.17.5/2.17.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pylint/2.17.5/2.17.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pylint-dev/pylint (pylint)</summary> ### [`v2.17.7`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.7) [Compare Source](https://togithub.com/pylint-dev/pylint/compare/v2.17.6...v2.17.7) 2.17.7 is the last release before we only support pylint 3.0.0 or superior and python 3.8 or superior. ## False Positives Fixed - Fix a regression in pylint 2.17.6 / astroid 2.15.7 causing various messages for code involving `TypeVar`. Closes [#&#8203;9069](https://togithub.com/pylint-dev/pylint/issues/9069) ## Other Bug Fixes - Fix crash in refactoring checker when unary operand used with variable in for loop. Closes [#&#8203;9074](https://togithub.com/pylint-dev/pylint/issues/9074) ### [`v2.17.6`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.6) [Compare Source](https://togithub.com/pylint-dev/pylint/compare/v2.17.5...v2.17.6) ## Other Bug Fixes - When parsing comma-separated lists of regular expressions in the config, ignore commas that are inside braces since those indicate quantifiers, not delineation between expressions. Closes [#&#8203;7229](https://togithub.com/pylint-dev/pylint/issues/7229) - `sys.argv` is now always correctly considered as impossible to infer (instead of using the actual values given to pylint). Closes [#&#8203;9047](https://togithub.com/pylint-dev/pylint/issues/9047) - Don't show class fields more than once in Pyreverse diagrams. Closes [#&#8203;8189](https://togithub.com/pylint-dev/pylint/issues/8189) - Don't show arrows more than once in Pyreverse diagrams. Closes [#&#8203;8522](https://togithub.com/pylint-dev/pylint/issues/8522) - Don't show duplicate type annotations in Pyreverse diagrams. Closes [#&#8203;8888](https://togithub.com/pylint-dev/pylint/issues/8888) - Don't add `Optional` to `|` annotations with `None` in Pyreverse diagrams. Closes [#&#8203;9014](https://togithub.com/pylint-dev/pylint/issues/9014) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/luketainton/webexmemebot). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzcuMC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
luketainton (Migrated from github.com) reviewed 2023-09-25 14:15:24 +02:00
renovate[bot] commented 2023-10-03 10:31:50 +02:00 (Migrated from github.com)

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: requirements-dev.txt
installing v2 tool python v3.12.0
[08:40:27.617] INFO (9): Installing tool python v3.12.0...
linking tool python v3.12.0
Python 3.12.0
pip 23.2.1 from /opt/containerbase/tools/python/3.12.0/lib/python3.12/site-packages/pip (python 3.12)
[08:40:33.782] INFO (9): Installed tool python in 6.1s.
[08:40:34.867] INFO (148): Installing tool hashin v0.17.0...
installing v2 tool hashin v0.17.0
linking tool hashin v0.17.0
Traceback (most recent call last):
  File "/opt/containerbase/tools/hashin/0.17.0/3.12/bin/hashin", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/containerbase/tools/hashin/0.17.0/3.12/lib/python3.12/site-packages/hashin.py", line 794, in main
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
[08:40:37.630] FATAL (148): Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0
    err: {
      "type": "Error",
      "message": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0",
      "stack":
          Error: Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0
              at makeError (/snapshot/dist/containerbase-cli.js:42922:13)
              at handlePromise (/snapshot/dist/containerbase-cli.js:43378:29)
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
              at async InstallLegacyToolService.execute (/snapshot/dist/containerbase-cli.js:45801:5)
              at async InstallToolService.execute (/snapshot/dist/containerbase-cli.js:45980:9)
              at async InstallToolShortCommand.execute (/snapshot/dist/containerbase-cli.js:46296:14)
              at async InstallToolShortCommand.validateAndExecute (/snapshot/dist/containerbase-cli.js:1344:26)
              at async _Cli.run (/snapshot/dist/containerbase-cli.js:2457:22)
              at async _Cli.runExit (/snapshot/dist/containerbase-cli.js:2465:28)
              at async main (/snapshot/dist/containerbase-cli.js:46439:3)
      "shortMessage": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0",
      "command": "/usr/local/containerbase/bin/install-tool hashin 0.17.0",
      "escapedCommand": "\"/usr/local/containerbase/bin/install-tool\" hashin 0.17.0",
      "exitCode": 1,
      "cwd": "/tmp/worker/1bb166/b9aa88/repos/github/luketainton/webexmemebot",
      "failed": true,
      "timedOut": false,
      "isCanceled": false,
      "killed": false
    }
[08:40:37.942] INFO (148): Installed tool hashin with errors in 3s.


### ⚠ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: requirements-dev.txt ``` installing v2 tool python v3.12.0 [08:40:27.617] INFO (9): Installing tool python v3.12.0... linking tool python v3.12.0 Python 3.12.0 pip 23.2.1 from /opt/containerbase/tools/python/3.12.0/lib/python3.12/site-packages/pip (python 3.12) [08:40:33.782] INFO (9): Installed tool python in 6.1s. [08:40:34.867] INFO (148): Installing tool hashin v0.17.0... installing v2 tool hashin v0.17.0 linking tool hashin v0.17.0 Traceback (most recent call last): File "/opt/containerbase/tools/hashin/0.17.0/3.12/bin/hashin", line 8, in <module> sys.exit(main()) ^^^^^^ File "/opt/containerbase/tools/hashin/0.17.0/3.12/lib/python3.12/site-packages/hashin.py", line 794, in main import pkg_resources ModuleNotFoundError: No module named 'pkg_resources' [08:40:37.630] FATAL (148): Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0 err: { "type": "Error", "message": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0", "stack": Error: Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0 at makeError (/snapshot/dist/containerbase-cli.js:42922:13) at handlePromise (/snapshot/dist/containerbase-cli.js:43378:29) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async InstallLegacyToolService.execute (/snapshot/dist/containerbase-cli.js:45801:5) at async InstallToolService.execute (/snapshot/dist/containerbase-cli.js:45980:9) at async InstallToolShortCommand.execute (/snapshot/dist/containerbase-cli.js:46296:14) at async InstallToolShortCommand.validateAndExecute (/snapshot/dist/containerbase-cli.js:1344:26) at async _Cli.run (/snapshot/dist/containerbase-cli.js:2457:22) at async _Cli.runExit (/snapshot/dist/containerbase-cli.js:2465:28) at async main (/snapshot/dist/containerbase-cli.js:46439:3) "shortMessage": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool hashin 0.17.0", "command": "/usr/local/containerbase/bin/install-tool hashin 0.17.0", "escapedCommand": "\"/usr/local/containerbase/bin/install-tool\" hashin 0.17.0", "exitCode": 1, "cwd": "/tmp/worker/1bb166/b9aa88/repos/github/luketainton/webexmemebot", "failed": true, "timedOut": false, "isCanceled": false, "killed": false } [08:40:37.942] INFO (148): Installed tool hashin with errors in 3s. ```
sonarqubecloud[bot] commented 2023-10-03 10:41:45 +02:00 (Migrated from github.com)

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=luketainton_webexmemebot&pullRequest=58) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=58&resolved=false&types=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=luketainton_webexmemebot&pullRequest=58) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=luketainton_webexmemebot&pullRequest=58&metric=duplicated_lines_density&view=list) No Duplication information
Sign in to join this conversation.
No description provided.