Commit e130884
Bump databricks-labs-pylint from 0.4.0 to 0.5.0 (#277)
Bumps
[databricks-labs-pylint](https://github.com/databrickslabs/pylint-plugin)
from 0.4.0 to 0.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/databrickslabs/pylint-plugin/releases">databricks-labs-pylint's
releases</a>.</em></p>
<blockquote>
<h2>v0.5.0</h2>
<ul>
<li>Added checker for multiline list comprehensions ban (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/48">#48</a>).
A new checker, <code>readability</code>, has been implemented in the
PyLint plugin for Databricks, introducing a new code rule
<code>R8923</code> 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 <code>databricks.labs.pylint.readability</code> to the
<code>load-plugins</code> configuration in the <code>pylintrc</code> or
<code>pyproject.toml</code> file. The commit also includes updates to
the README file, documenting the new checker and the <code>R8923</code>
check, along with examples and instructions for using and disabling it.
Additionally, new test functions have been added to
<code>test_readability.py</code> to demonstrate the ability to enforce a
ban on multiline list comprehensions.</li>
<li>Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/47">#47</a>).
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.</li>
</ul>
<p>Dependency updates:</p>
<ul>
<li>Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/pull/47">#47</a>).</li>
</ul>
<p>Contributors: <a
href="https://github.com/dependabot"><code>@dependabot</code></a>[bot],
<a href="https://github.com/nfx"><code>@nfx</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/databrickslabs/pylint-plugin/blob/main/CHANGELOG.md">databricks-labs-pylint's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.0</h2>
<ul>
<li>Added checker for multiline list comprehensions ban (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/48">#48</a>).
A new checker, <code>readability</code>, has been implemented in the
PyLint plugin for Databricks, introducing a new code rule
<code>R8923</code> 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 <code>databricks.labs.pylint.readability</code> to the
<code>load-plugins</code> configuration in the <code>pylintrc</code> or
<code>pyproject.toml</code> file. The commit also includes updates to
the README file, documenting the new checker and the <code>R8923</code>
check, along with examples and instructions for using and disabling it.
Additionally, new test functions have been added to
<code>test_readability.py</code> to demonstrate the ability to enforce a
ban on multiline list comprehensions.</li>
<li>Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/47">#47</a>).
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.</li>
</ul>
<p>Dependency updates:</p>
<ul>
<li>Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/pull/47">#47</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/databrickslabs/pylint-plugin/commit/b1be1a39703b8d3b693a0afd8a6ee61ff5078cb8"><code>b1be1a3</code></a>
Release v0.5.0 (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/49">#49</a>)</li>
<li><a
href="https://github.com/databrickslabs/pylint-plugin/commit/7015ef8926315832a69e9f3b4114a0ca1e1b67f0"><code>7015ef8</code></a>
Added checker for multiline list comprehensions ban (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/48">#48</a>)</li>
<li><a
href="https://github.com/databrickslabs/pylint-plugin/commit/c0057b82ee2148976f43a1e098b5ea6b99f9c9fc"><code>c0057b8</code></a>
Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (<a
href="https://redirect.github.com/databrickslabs/pylint-plugin/issues/47">#47</a>)</li>
<li>See full diff in <a
href="https://github.com/databrickslabs/pylint-plugin/compare/v0.4.0...v0.5.0">compare
view</a></li>
</ul>
</details>
<br />
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Snare <andrew.snare@databricks.com>1 parent ad3fb5b commit e130884
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments