- 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 ruleR8923
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 addingdatabricks.labs.pylint.readability
to theload-plugins
configuration in thepylintrc
orpyproject.toml
file. The commit also includes updates to the README file, documenting the new checker and theR8923
check, along with examples and instructions for using and disabling it. Additionally, new test functions have been added totest_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