Skip to content

Bump pylint from 3.3.9 to 4.0.2#235

Merged
Marenz merged 2 commits intov1.x.xfrom
dependabot/pip/pylint-4.0.2
Nov 10, 2025
Merged

Bump pylint from 3.3.9 to 4.0.2#235
Marenz merged 2 commits intov1.x.xfrom
dependabot/pip/pylint-4.0.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2025

Bumps pylint from 3.3.9 to 4.0.2.

Commits
  • 0eb92d2 Bump pylint to 4.0.2, update changelog
  • caf95d5 [Backport maintenance/4.0.x] Fix FP for invalid-name for partially uninfera...
  • 4d52769 [Backport maintenance/4.0.x] Ignore unraisable exceptions on stdlib primer (#...
  • 92a13df [Backport maintenance/4.0.x] Fix FP for invalid-name on module-level consta...
  • 4c913c0 [Backport maintenance/4.0.x] Fix FP for invalid-name for TypedDicts (#10674)
  • 9a30350 Bump pylint to 4.0.1, update changelog (#10667)
  • 0ad9d26 [Backport maintenance/4.0.x] Check enums created with functional syntax again...
  • 60a01e4 [Backport maintenance/4.0.x] Improve conditionals (#10655)
  • e60b80e [Backport maintenance/4.0.x] Fix unused-variable false positive with `__all...
  • abcf2ed [Backport maintenance/4.0.x] Fix false-positive for bare-name-capture-pattern...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users labels Nov 1, 2025
@dependabot dependabot bot requested review from a team as code owners November 1, 2025 15:07
@dependabot dependabot bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Nov 1, 2025
@dependabot dependabot bot added the type:tech-debt Improves the project without visible changes for users label Nov 1, 2025
llucax
llucax previously approved these changes Nov 3, 2025
@llucax llucax enabled auto-merge November 3, 2025 09:14
@dependabot dependabot bot force-pushed the dependabot/pip/pylint-4.0.2 branch from 9b61c2e to 68735fb Compare November 3, 2025 09:26
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.9 to 4.0.2.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.3.9...v4.0.2)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pylint-4.0.2 branch from 68735fb to d6b2a5b Compare November 3, 2025 11:24
@llucax
Copy link
Contributor

llucax commented Nov 3, 2025

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 3, 2025

Looks like this PR is already up-to-date with v1.x.x! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@llucax
Copy link
Contributor

llucax commented Nov 3, 2025

OK, this is failing because of a new failure the new pylint version detects:

src/frequenz/client/dispatch/_client.py:370:4: R0912: Too many branches (21/12) (too-many-branches)

@llucax
Copy link
Contributor

llucax commented Nov 3, 2025

Mmm, and auto-merge fails with:

Download action repository 'frequenz-floss/dependabot-auto-approve@005e52004f5d5c6af2f81b89ec25e5cf6f3dfd77' (SHA:005e52004f5d5c6af2f81b89ec25e5cf6f3dfd77)
Error: frequenz-floss/dependabot-auto-approve/005e52004f5d5c6af2f81b89ec25e5cf6f3dfd77/action.yml (Line: 137, Col: 12): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.PAT_TOKEN
Error: GitHub.DistributedTask.ObjectTemplating.TemplateValidationException: The template is not valid. frequenz-floss/dependabot-auto-approve/005e52004f5d5c6af2f81b89ec25e5cf6f3dfd77/action.yml (Line: 137, Col: 12): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.PAT_TOKEN
   at GitHub.DistributedTask.ObjectTemplating.TemplateValidationErrors.Check()
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Failed to load frequenz-floss/dependabot-auto-approve/005e52004f5d5c6af2f81b89ec25e5cf6f3dfd77/action.yml

The update() method has nested match statements that result in 21
branches, exceeding pylint 4.0's default limit of 12. This is
intentional for handling various field update cases.

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
@Marenz Marenz added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Nov 5, 2025
@Marenz Marenz requested a review from llucax November 5, 2025 11:27
@Marenz Marenz disabled auto-merge November 10, 2025 13:03
@Marenz Marenz merged commit 1e866b9 into v1.x.x Nov 10, 2025
9 of 10 checks passed
@Marenz Marenz deleted the dependabot/pip/pylint-4.0.2 branch November 10, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:dispatcher part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments