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.265 to 0.0.267 (#108)
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.265 to 0.0.267. <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.267</h2> <!-- raw HTML omitted --> <h2>Summary</h2> <p>Follow-up release to v0.0.266 to fix an issue with <code>python -m ruff</code>- and <code>import ruff</code>-based workflows.</p> <p>(No new rules or functionality.)</p> <h2>What's Changed</h2> <h3>Rules</h3> <ul> <li>Implement <code>RUF010</code> to detect explicit type conversions within f-strings by <a href="https://github.com/LotemAm"><code>@LotemAm</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4387">charliermarsh/ruff#4387</a></li> </ul> <h3>Other Changes</h3> <ul> <li>Workaround for maturin bug by <a href="https://github.com/konstin"><code>@konstin</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4399">charliermarsh/ruff#4399</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/OMEGARAZER"><code>@OMEGARAZER</code></a> made their first contribution in <a href="https://redirect.github.com/charliermarsh/ruff/pull/3938">charliermarsh/ruff#3938</a></li> <li><a href="https://github.com/LotemAm"><code>@LotemAm</code></a> made their first contribution in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4387">charliermarsh/ruff#4387</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/charliermarsh/ruff/compare/v0.0.266...v0.0.267">https://github.com/charliermarsh/ruff/compare/v0.0.266...v0.0.267</a></p> <h2>v0.0.266</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Breaking Changes</h3> <ul> <li>Remove deprecated <code>update-check</code> setting by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4313">charliermarsh/ruff#4313</a></li> <li>JSON Emitter: Use one indexed column numbers for edits by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4007">charliermarsh/ruff#4007</a></li> </ul> <h3>Rules</h3> <ul> <li>[<code>pygrep-hooks</code>] Implement pygrep-hook's Mock-mistake diagnostic by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4366">charliermarsh/ruff#4366</a></li> <li>[<code>pylint</code>] Implement <code>nested-min-max</code> (<code>W3301</code>) by <a href="https://github.com/mccullocht"><code>@mccullocht</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4200">charliermarsh/ruff#4200</a></li> <li>[<code>flynt</code>] Implement Flynt static string join transform as FLY002 by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4196">charliermarsh/ruff#4196</a></li> <li>[<code>pylint</code>] Include positional- and keyword-only arguments in too-many-arguments by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4329">charliermarsh/ruff#4329</a></li> <li>[<code>ruff</code>] Update confusable character mapping by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4274">charliermarsh/ruff#4274</a></li> </ul> <h3>Settings</h3> <ul> <li>Add .git-rewrite folder to default ignored folder paths by <a href="https://github.com/jleclanche"><code>@jleclanche</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4261">charliermarsh/ruff#4261</a></li> <li>Feat: detect changes also in configuration files by <a href="https://github.com/mikeleppane"><code>@mikeleppane</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4169">charliermarsh/ruff#4169</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Revert the B027 autofix logic by <a href="https://github.com/aacunningham"><code>@aacunningham</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4310">charliermarsh/ruff#4310</a></li> <li>Consider Flask app logger as logger candidate by <a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4253">charliermarsh/ruff#4253</a></li> <li>Enforce max-doc-length for multi-line docstrings by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4347">charliermarsh/ruff#4347</a></li> <li>Avoid re-using imports beyond current edit site by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4378">charliermarsh/ruff#4378</a></li> <li>Respect insertion location when importing symbols by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4258">charliermarsh/ruff#4258</a></li> <li>Fix jemalloc page size on aarch64 by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/charliermarsh/ruff/pull/4247">charliermarsh/ruff#4247</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.0.267</h2> <h3><code>update-check</code> is no longer a valid configuration option (<a href="https://redirect.github.com/charliermarsh/ruff/pull/4313">#4313</a>)</h3> <p>The <code>update-check</code> functionality was deprecated in <a href="https://redirect.github.com/charliermarsh/ruff/pull/2530">#2530</a>, in that the behavior itself was removed, and Ruff was changed to warn when that option was enabled.</p> <p>Now, Ruff will throw an error when <code>update-check</code> is provided via a configuration file (e.g., <code>update-check = false</code>) or through the command-line, since it has no effect. Users should remove this option from their configuration.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/charliermarsh/ruff/commit/7617519b4f6c7f726a2758a601206ca49308db2a"><code>7617519</code></a> Skip python -m ruff --help on linux-cross</li> <li><a href="https://github.com/charliermarsh/ruff/commit/bc7ddd8f3a3914f41e5604bc5b3dd83c6a2a016a"><code>bc7ddd8</code></a> Temporarily create release on-tag</li> <li><a href="https://github.com/charliermarsh/ruff/commit/e6bb5cddcf30d5cd56b58c62614ad6c790ba6e32"><code>e6bb5cd</code></a> Add Astral badge to the repo (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4401">#4401</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/dcedd5cd9d79b5a06947e7e94ce060991ddd54c9"><code>dcedd5c</code></a> Bump version to 0.0.267 (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4400">#4400</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/606b6ac3df848a3ffd7749acf5b46db40f7b78fc"><code>606b6ac</code></a> Workaround for maturin bug (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4399">#4399</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/ebda9b31d900fa07f230ddf5fddb3dc77962de25"><code>ebda9b3</code></a> Update CI to test <code>python -m ruff</code> on release (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4397">#4397</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/52f6663089c3983617d4d7fc07b4897c4c8433d3"><code>52f6663</code></a> Implement <code>RUF010</code> to detect explicit type conversions within f-strings (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4387">#4387</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/a6176d2c7038f2d63c4321a65957678d7b7bb608"><code>a6176d2</code></a> Add PyTorch to user list (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4393">#4393</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/1d165f7e9d35c761f7d969fac1b0e2f57defc4a8"><code>1d165f7</code></a> Add linting badge that can be used to display usage (<a href="https://redirect.github.com/charliermarsh/ruff/issues/3938">#3938</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/e96092291d5f53efca0e0b9c535ecc5f0d023713"><code>e960922</code></a> Update Ruff badge (<a href="https://redirect.github.com/charliermarsh/ruff/issues/4392">#4392</a>)</li> <li>Additional commits viewable in <a href="https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.267">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.265&new-version=0.0.267)](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