Skip to content

Bump databricks-labs-pylint from 0.3.0 to 0.5.0#381

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/databricks-labs-pylint-0.5.0
Open

Bump databricks-labs-pylint from 0.3.0 to 0.5.0#381
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/databricks-labs-pylint-0.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 7, 2026

Bumps databricks-labs-pylint from 0.3.0 to 0.5.0.

Release notes

Sourced from databricks-labs-pylint's releases.

v0.5.0

  • Added checker for multiline list comprehensions ban (#48). A new checker, readability, has been implemented in the PyLint plugin for Databricks, introducing a new code rule R8923 that flags multiline list comprehensions. This change aims to improve code readability by suggesting a rewrite as a for loop when list comprehensions span multiple lines. The checker can be used by adding databricks.labs.pylint.readability to the load-plugins configuration in the pylintrc or pyproject.toml file. The commit also includes updates to the README file, documenting the new checker and the R8923 check, along with examples and instructions for using and disabling it. Additionally, new test functions have been added to test_readability.py to demonstrate the ability to enforce a ban on multiline list comprehensions.
  • Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (#47). In version 3.0.0 of sigstore/gh-action-sigstore-python, several changes and bug fixes have been implemented. Notable updates include the addition of recursive globbing with **, and the removal of certain settings such as fulcio-url, rekor-url, ctfe, and rekor-root-pubkey. The output settings signature, certificate, and bundle have also been removed, and inputs are now parsed according to POSIX shell lexing rules. The release-signing-artifacts setting no longer causes a hard error when used under the incorrect event. Additionally, the default suffix has changed from .sigstore to .sigstore.json, and release-signing-artifacts now defaults to true. This version also supports CI runners that use PEP 668 to constrain global package prefixes.

Dependency updates:

  • Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (#47).

Contributors: @​dependabot[bot], @​nfx

v0.4.0

  • Added checks for missing mock usage (#44). This change introduces new checks to a PyLint plugin for use with Databricks, specifically targeting the usage of mock objects in Python code. Two new checks, R8921 and R8922, have been developed to ensure the proper assignment and utilization of mock objects. R8921 checks for instances where a mock object is not assigned to a variable, suggesting an assignment to enable assertions. R8922 checks for situations where a mock object is used after creation, recommending an assertion, return value, or side effect for correct usage. To disable these checks on specific lines, users can add comments # pylint: disable=mock-no-assign or # pylint: disable=mock-no-usage. The commit also includes documentation and examples to guide users in implementing and disabling these checks, enhancing the overall quality and reliability of the code.

Contributors: @​nfx

Changelog

Sourced from databricks-labs-pylint's changelog.

0.5.0

  • Added checker for multiline list comprehensions ban (#48). A new checker, readability, has been implemented in the PyLint plugin for Databricks, introducing a new code rule R8923 that flags multiline list comprehensions. This change aims to improve code readability by suggesting a rewrite as a for loop when list comprehensions span multiple lines. The checker can be used by adding databricks.labs.pylint.readability to the load-plugins configuration in the pylintrc or pyproject.toml file. The commit also includes updates to the README file, documenting the new checker and the R8923 check, along with examples and instructions for using and disabling it. Additionally, new test functions have been added to test_readability.py to demonstrate the ability to enforce a ban on multiline list comprehensions.
  • Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (#47). In version 3.0.0 of sigstore/gh-action-sigstore-python, several changes and bug fixes have been implemented. Notable updates include the addition of recursive globbing with **, and the removal of certain settings such as fulcio-url, rekor-url, ctfe, and rekor-root-pubkey. The output settings signature, certificate, and bundle have also been removed, and inputs are now parsed according to POSIX shell lexing rules. The release-signing-artifacts setting no longer causes a hard error when used under the incorrect event. Additionally, the default suffix has changed from .sigstore to .sigstore.json, and release-signing-artifacts now defaults to true. This version also supports CI runners that use PEP 668 to constrain global package prefixes.

Dependency updates:

  • Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (#47).

0.4.0

  • Added checks for missing mock usage (#44). This change introduces new checks to a PyLint plugin for use with Databricks, specifically targeting the usage of mock objects in Python code. Two new checks, R8921 and R8922, have been developed to ensure the proper assignment and utilization of mock objects. R8921 checks for instances where a mock object is not assigned to a variable, suggesting an assignment to enable assertions. R8922 checks for situations where a mock object is used after creation, recommending an assertion, return value, or side effect for correct usage. To disable these checks on specific lines, users can add comments # pylint: disable=mock-no-assign or # pylint: disable=mock-no-usage. The commit also includes documentation and examples to guide users in implementing and disabling these checks, enhancing the overall quality and reliability of the code.
Commits

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 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)

Bumps [databricks-labs-pylint](https://github.com/databrickslabs/pylint-plugin) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/databrickslabs/pylint-plugin/releases)
- [Changelog](https://github.com/databrickslabs/pylint-plugin/blob/main/CHANGELOG.md)
- [Commits](databrickslabs/pylint-plugin@v0.3.0...v0.5.0)

---
updated-dependencies:
- dependency-name: databricks-labs-pylint
  dependency-version: 0.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 7, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 7, 2026 19:24
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants