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.253 to 0.0.254 (#89)
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.253 to 0.0.254. <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.254</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Rules</h3> <ul> <li>[<code>pyupgrade</code>] Replace tuples with type union in isinstance or issubclass calls by <a href="https://github.com/martinlehoux"><code>@martinlehoux</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3280">charliermarsh/ruff#3280</a></li> <li>[<code>flake8-pyi</code>] Add flake-pyi PYI033 "Do not use type comments in stubs" by <a href="https://github.com/konstin"><code>@konstin</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3302">charliermarsh/ruff#3302</a></li> <li>[<code>flake8-pyi</code>] PYI006 bad version info comparison by <a href="https://github.com/konstin"><code>@konstin</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3291">charliermarsh/ruff#3291</a></li> <li>[<code>pycodestyle</code>] feat(E251,E252): add rules by <a href="https://github.com/carlosmiei"><code>@carlosmiei</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3274">charliermarsh/ruff#3274</a></li> <li>[<code>pycodestyle</code>] feat(E211): add rule + autofix by <a href="https://github.com/carlosmiei"><code>@carlosmiei</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3313">charliermarsh/ruff#3313</a></li> <li>[<code>pycodestyle</code>] feat(e225,226,227,228): add rules by <a href="https://github.com/carlosmiei"><code>@carlosmiei</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3300">charliermarsh/ruff#3300</a></li> <li>[<code>pycodestyle</code>] feat(W191): add indentation_contains_tabs by <a href="https://github.com/carlosmiei"><code>@carlosmiei</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3249">charliermarsh/ruff#3249</a></li> <li>Redirect <code>RUF004</code> to <code>B026</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3293">charliermarsh/ruff#3293</a></li> </ul> <h3>CLI</h3> <ul> <li>Add a <code>--ignore-noqa</code> CLI flag to force-ignore noqa directives by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3296">charliermarsh/ruff#3296</a></li> </ul> <h3>Settings</h3> <ul> <li>Implement <code>property-decorators</code> configuration option for pydocstyle by <a href="https://github.com/staticssleever668"><code>@staticssleever668</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3311">charliermarsh/ruff#3311</a></li> <li>Always include <code>@classmethod</code> and <code>@staticmethod</code> in decorator lists by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3314">charliermarsh/ruff#3314</a></li> <li>Detect quote style ignoring docstrings by <a href="https://github.com/bz2"><code>@bz2</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3306">charliermarsh/ruff#3306</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Deduplicate SIM116 errors by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3260">charliermarsh/ruff#3260</a></li> <li>Don't flag keyword-based logging format strings by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3261">charliermarsh/ruff#3261</a></li> <li>Avoid raising TRY200 violations within new scopes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3275">charliermarsh/ruff#3275</a></li> <li>Use expression span for yoda-conditions fixes by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3276">charliermarsh/ruff#3276</a></li> <li>Avoid PEP 585 rewrites when builtins are shadowed by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3286">charliermarsh/ruff#3286</a></li> <li>Ignore unused imports in ModuleNotFoundError blocks by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3288">charliermarsh/ruff#3288</a></li> <li>Treat function type annotations within classes as runtime-required by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3312">charliermarsh/ruff#3312</a></li> <li>Extend <code>RET503</code> autofixes to "end of statement", including comments by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3324">charliermarsh/ruff#3324</a></li> <li>Handle empty NamedTuple and TypedDict conversions by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3251">charliermarsh/ruff#3251</a></li> <li>Use <code>identifier_range</code> for a few more rules by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3254">charliermarsh/ruff#3254</a></li> <li>Match non-lowercase with S105 again by <a href="https://github.com/scop"><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3258">charliermarsh/ruff#3258</a></li> <li>Abort when unable to fix relative imports past module root by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3319">charliermarsh/ruff#3319</a></li> <li>Use presence of convention-specific sections during docstring inference by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3325">charliermarsh/ruff#3325</a></li> <li>Treat callables within type definitions as default-non-types by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3329">charliermarsh/ruff#3329</a></li> <li>Explicitly put <code>Path(...)</code> in Pathlib violations by <a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3333">charliermarsh/ruff#3333</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/rouge8"><code>@rouge8</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3277">charliermarsh/ruff#3277</a></li> <li><a href="https://github.com/staticssleever668"><code>@staticssleever668</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3311">charliermarsh/ruff#3311</a></li> <li><a href="https://github.com/bz2"><code>@bz2</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3306">charliermarsh/ruff#3306</a></li> <li><a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/charliermarsh/ruff/pull/3333">charliermarsh/ruff#3333</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/charliermarsh/ruff/compare/v0.0.253...v0.0.254">https://github.com/charliermarsh/ruff/compare/v0.0.253...v0.0.254</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/charliermarsh/ruff/commit/889c05c87ed02e36567af164b85bd027ff720df4"><code>889c05c</code></a> Explicitly put <code>Path(...)</code> in Pathlib violations (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3333">#3333</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/bbbc44336eea601707f9f530e2cf1a44b631e572"><code>bbbc443</code></a> Bump version to 0.0.254 (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3331">#3331</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/d216b2aaa8838c773ee2031fb9ef8291ea7ef450"><code>d216b2a</code></a> Treat callables within type definitions as default-non-types (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3329">#3329</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/367cc43c424d4379c6be6a42f3951d475df85256"><code>367cc43</code></a> Un-gate PEP 604 isinstance rewrites from keep_runtime_typing checks (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3328">#3328</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/b5b26d5a3e031ea52f590b6a097b1a347fcc9754"><code>b5b26d5</code></a> Gate PEP604 isinstance rewrites behind Python 3.10+ (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3327">#3327</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/dedf8aa5cc12529c9b699a13ed90a4fae5ea3f94"><code>dedf8aa</code></a> Use presence of convention-specific sections during docstring inference (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3325">#3325</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/eb42ce93198a1b7fa9f248feee9a8d75ca1b4ca9"><code>eb42ce9</code></a> Extend <code>RET503</code> autofixes to "end of statement", including comments (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3324">#3324</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/cdbe2ee496314f2f24d8d2d098edd561e707087a"><code>cdbe2ee</code></a> refactor: Introduce <code>CacheKey</code> trait (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3323">#3323</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/d1288dc2b1a45252e68a0f754198cf0d5b305d0e"><code>d1288dc</code></a> Remove maturin build from CI (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3322">#3322</a>)</li> <li><a href="https://github.com/charliermarsh/ruff/commit/3bcffb5bdd1f3ee50e7e1637d890cdcdd5b7d098"><code>3bcffb5</code></a> Add flake-pyi PYI033 "Do not use type comments in stubs" (<a href="https://github-redirect.dependabot.com/charliermarsh/ruff/issues/3302">#3302</a>)</li> <li>Additional commits viewable in <a href="https://github.com/charliermarsh/ruff/compare/v0.0.253...v0.0.254">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.253&new-version=0.0.254)](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