Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ruff from 0.0.255 to 0.0.257 (#93)
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.255 to 0.0.257. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/charliermarsh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.0.257</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Rules</h3> <ul> <li>[<code>ruff</code>] Prefer <code>itertools.pairwise()</code> over <code>zip()</code> for successive pairs (<code>RUF007</code>) by <a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3501">charliermarsh/ruff#3501</a></li> <li>[<code>flake8-bugbear</code>] Add <code>no-explicit-stacklevel</code> (<code>B028</code>) by <a href="https://github.com/johnor"><code>@johnor</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3550">charliermarsh/ruff#3550</a></li> <li>[<code>pylint</code>] invalid-characters-* by <a href="https://github.com/r3m0t"><code>@r3m0t</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3552">charliermarsh/ruff#3552</a></li> <li>[<code>pylint</code>] Implement <code>useless-return</code> (<code>R1711</code>) by <a href="https://github.com/tomecki"><code>@tomecki</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3116">charliermarsh/ruff#3116</a></li> <li>[<code>pylint</code>]: Implement <code>continue-in-finally</code> (<code>E0116</code>) by <a href="https://github.com/latonis"><code>@latonis</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3541">charliermarsh/ruff#3541</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Rewrite mock import with starred imports by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3566">charliermarsh/ruff#3566</a></li> <li>Respect <code>type</code> overrides in E721 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3582">charliermarsh/ruff#3582</a></li> <li>Use <code>value > max</code> style in pylint and mccabe messages by <a href="https://github.com/edgarrmondragon"><code>@edgarrmondragon</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3553">charliermarsh/ruff#3553</a></li> <li>Fix autofix conflict between <code>D209</code> and <code>D400</code> by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3564">charliermarsh/ruff#3564</a></li> <li>Avoid C1901 violations within subscripts by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3517">charliermarsh/ruff#3517</a></li> <li>Avoid adding dashed line outside of docstring by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3581">charliermarsh/ruff#3581</a></li> <li>Enable ANSI colors on Windows 10 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3583">charliermarsh/ruff#3583</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/johnor"><code>@johnor</code></a> made their first contribution in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3550">charliermarsh/ruff#3550</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/charliermarsh/ruff/compare/v0.0.256...v0.0.257">https://github.com/charliermarsh/ruff/compare/v0.0.256...v0.0.257</a></p> <h2>v0.0.256</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Bug Fixes</h3> <ul> <li>PYI011: allow <code>math</code> constants in defaults by <a href="https://github.com/XuehaiPan"><code>@XuehaiPan</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3484">charliermarsh/ruff#3484</a></li> <li>Remove erroneous C4-to-C40 redirect by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3488">charliermarsh/ruff#3488</a></li> <li>fix lack of <code>not</code> in error message by <a href="https://github.com/Czaki"><code>@Czaki</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3497">charliermarsh/ruff#3497</a></li> <li>Ensure that redirect warnings appear exactly once per code by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3500">charliermarsh/ruff#3500</a></li> <li>Allow f-strings and concatenations in os.getenv by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3516">charliermarsh/ruff#3516</a></li> <li>Allow string percent formatting in os.getenv by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3518">charliermarsh/ruff#3518</a></li> <li>Refine complexity rules for try-except-else-finally by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3519">charliermarsh/ruff#3519</a></li> <li>Replicate inline comments when splitting single-line imports by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3521">charliermarsh/ruff#3521</a></li> <li>Avoid PEP 604 isinstance errors for starred tuples by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3527">charliermarsh/ruff#3527</a></li> <li>Avoid tracking as-imports separately with force-single-line by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3530">charliermarsh/ruff#3530</a></li> <li>Fix PYI011 and add auto-fix by <a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3492">charliermarsh/ruff#3492</a></li> <li>Avoid PEP 604 panic with empty tuple by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3526">charliermarsh/ruff#3526</a></li> <li>Add last remaining deprecated typing imports by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3529">charliermarsh/ruff#3529</a></li> <li>Avoid unused argument violations in .pyi files by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3533">charliermarsh/ruff#3533</a></li> </ul> <h3>Other Changes</h3> <ul> <li>Include individual path checks in --verbose logging by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3489">charliermarsh/ruff#3489</a></li> <li>Allow <code># ruff:</code> prefix for isort action comments by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3493">charliermarsh/ruff#3493</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/charliermarsh/ruff/compare/v0.0.255...v0.0.256">https://github.com/charliermarsh/ruff/compare/v0.0.255...v0.0.256</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/charliermarsh/ruff/commit/0c4926ff7be0f251402edacb7a873ec104117ea0"><code>0c4926f</code></a> Bump version to v0.0.257 (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3591">#3591</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/61653b9f27887285983278077d892bc2b6f67aed"><code>61653b9</code></a> [<code>pylint</code>] Implement <code>useless-return</code> (<code>R1711</code>) (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3116">#3116</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/8dd3959e74371ed336b42ea4b25a8ec6affc4f9b"><code>8dd3959</code></a> Update output in <code>resources/test/project/README.md</code> (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3587">#3587</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/50f9db21daeb56765c6fc6c75057e685231277e1"><code>50f9db2</code></a> Enable ANSI colors on Windows 10 (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3583">#3583</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/1dd3cbd047beda01a7833e1b20e10e745757fe3e"><code>1dd3cbd</code></a> [<code>pylint</code>] invalid-characters-* (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3552">#3552</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/bd935cbd49f3de9b5d4949391bea77478d2cdd2e"><code>bd935cb</code></a> [<code>flake8-bugbear</code>] Add <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3550">#3550</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/babd0a05acaf347243d2ba9527e22d6f0021f123"><code>babd0a0</code></a> Avoid adding dashed line outside of docstring (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3581">#3581</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/87fab4a2e179d398ae23129962c6ec9d61dc824a"><code>87fab4a</code></a> Benchmark all rules (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3570">#3570</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/2e21920adfd03c82733e7073b9f84b7c1b35074a"><code>2e21920</code></a> Respect <code>type</code> overrides in E721 (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3582">#3582</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/dedf4cbdebd5c5622849aab5dea4833c2af198a5"><code>dedf4cb</code></a> refactor: Move scope and binding types to <code>scope.rs</code> (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3573">#3573</a>)</li> <li>Additional commits viewable in <a href="https://github.com/charliermarsh/ruff/compare/v0.0.255...v0.0.257">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.0.255&new-version=0.0.257)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information