Skip to content

Commit

Permalink
chore(deps-dev): Bump ruff from 0.0.269 to 0.0.270 (#1350)
Browse files Browse the repository at this point in the history
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.269 to
0.0.270.
<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.270</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[<code>flake8-bandit</code>] Implement <code>paramiko-call</code>
(<code>S601</code>) by <a
href="https://github.com/scop"><code>@​scop</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4500">charliermarsh/ruff#4500</a></li>
<li>[<code>flake8-pyi</code>] Add autofix for PYI009 by <a
href="https://github.com/qdegraaf"><code>@​qdegraaf</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4583">charliermarsh/ruff#4583</a></li>
<li>[<code>flake8-pyi</code>] Implement <code>PYI013</code> by <a
href="https://github.com/density"><code>@​density</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4517">charliermarsh/ruff#4517</a></li>
<li>[<code>pylint</code>] Add <code>duplicate-value</code>
(<code>W0130</code>) by <a
href="https://github.com/hoel-bagard"><code>@​hoel-bagard</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/4515">charliermarsh/ruff#4515</a></li>
<li>[<code>pylint</code>] Add <code>named_expr_without_context</code>
(<code>W0131</code>) by <a
href="https://github.com/hoel-bagard"><code>@​hoel-bagard</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/4531">charliermarsh/ruff#4531</a></li>
<li>[<code>ruff</code>] Extend <code>RUF005</code> to recursive and
literal-literal concatenations by <a
href="https://github.com/hoel-bagard"><code>@​hoel-bagard</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/4557">charliermarsh/ruff#4557</a></li>
<li>[<code>ruff</code>] Make ambiguous-unicode detection sensitive to
'word' context by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4552">charliermarsh/ruff#4552</a></li>
<li>[<code>ruff</code>] Name ambiguous characters by <a
href="https://github.com/covracer"><code>@​covracer</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4448">charliermarsh/ruff#4448</a></li>
</ul>
<h3>Settings</h3>
<ul>
<li>Implement <code>--extend-fixable</code> option by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4297">charliermarsh/ruff#4297</a></li>
<li>Support new <code>extend-per-file-ignores</code> setting by <a
href="https://github.com/aacunningham"><code>@​aacunningham</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4265">charliermarsh/ruff#4265</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fix RUF010 auto-fix with parenthesis by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4524">charliermarsh/ruff#4524</a></li>
<li>Parenthesize more sub-expressions in f-string conversion by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4535">charliermarsh/ruff#4535</a></li>
<li>Fix false-positive for TRY302 if exception cause is given by <a
href="https://github.com/153957"><code>@​153957</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4559">charliermarsh/ruff#4559</a></li>
<li>Fix <code># isort: split</code> comment detection in nested blocks
by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4584">charliermarsh/ruff#4584</a></li>
<li>Avoid some false positives in dunder variable assigments by <a
href="https://github.com/scop"><code>@​scop</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4508">charliermarsh/ruff#4508</a></li>
<li>Fix UP032 auto-fix with integers by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4525">charliermarsh/ruff#4525</a></li>
<li>Improve reference resolution for deferred-annotations-within-classes
by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4509">charliermarsh/ruff#4509</a></li>
<li>Improve handling of <code>__qualname__</code>,
<code>__module__</code>, and <code>__class__</code> by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4512">charliermarsh/ruff#4512</a></li>
<li>Include empty success test in JUnit output by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4537">charliermarsh/ruff#4537</a></li>
<li>Fix SIM110 and SIM111 ranges by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4545">charliermarsh/ruff#4545</a></li>
<li>Ignore <code>#region</code> code folding marks in eradicate rules by
<a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4546">charliermarsh/ruff#4546</a></li>
<li>Avoid infinite loop for required imports with isort: off by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4581">charliermarsh/ruff#4581</a></li>
<li>Make B007 fix relevance stricter by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4607">charliermarsh/ruff#4607</a></li>
<li>Introduce <code>tab-size</code> to correcly calculate the line
length with tabulations by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4167">charliermarsh/ruff#4167</a></li>
<li>Visit <code>TypeVar</code> and <code>NewType</code> name arguments
by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4627">charliermarsh/ruff#4627</a></li>
<li>Improve <code>Message</code> sorting performance by <a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/4624">charliermarsh/ruff#4624</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/hoel-bagard"><code>@​hoel-bagard</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4516">charliermarsh/ruff#4516</a></li>
<li><a href="https://github.com/density"><code>@​density</code></a> made
their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4517">charliermarsh/ruff#4517</a></li>
<li><a href="https://github.com/Mr-Pepe"><code>@​Mr-Pepe</code></a> made
their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4540">charliermarsh/ruff#4540</a></li>
<li><a href="https://github.com/153957"><code>@​153957</code></a> made
their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4559">charliermarsh/ruff#4559</a></li>
<li><a href="https://github.com/covracer"><code>@​covracer</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/4448">charliermarsh/ruff#4448</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270">https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/charliermarsh/ruff/commit/09c50c311c727c6f6e7b19d982f838ef83d581b1"><code>09c50c3</code></a>
Testing Macros: Add <code>extra-traits</code> feature (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4643">#4643</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/252506f8eda134866d4d3d749f0ba6b09362f7f9"><code>252506f</code></a>
Remove deprecated --universal2 flag (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4640">#4640</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/f4572fe40bbe4601266d7b2daa6805cfdfa2475c"><code>f4572fe</code></a>
Bump version to 0.0.270 (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4637">#4637</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/8c9215489e754c70128f331330b0cefe416d41ba"><code>8c92154</code></a>
Migrate flake8_bugbear rules to <code>unspecified</code> to
<code>suggested</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4616">#4616</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/dcd2bfaab7173f0798afdd6e5ef914057ea69487"><code>dcd2bfa</code></a>
Migrate flake8_pie autofix rules from <code>unspecified</code> to
<code>suggested</code> and `autom...</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/f0e173d9fd3d2af02659fb09f613469c761b9b88"><code>f0e173d</code></a>
Use <code>BindingId</code> copies in lieu of <code>&amp;BindingId</code>
in semantic model methods (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4633">#4633</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/f4f1b1d0eef61fd59ffdb22b4c7bca0deb8dcef1"><code>f4f1b1d</code></a>
Only run the playground release job on release (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4636">#4636</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/edc6c4058f100c472e8165d2a915425696f34f53"><code>edc6c40</code></a>
Move <code>shared_traits</code> to <code>ruff_formatter</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4632">#4632</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/4233f6ec91b0c5db5407e1132f7e30476c3bc120"><code>4233f6e</code></a>
Update to the new rule architecture (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4589">#4589</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/fcdc7bdd33b77c940cb0a76cdb361569e6702dbf"><code>fcdc7bd</code></a>
Remove separate <code>ReferenceContext</code> enum (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/4631">#4631</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.269...v0.0.270">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.269&new-version=0.0.270)](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>
Co-authored-by: Kai Welke <kai687@pm.me>
  • Loading branch information
dependabot[bot] and kai687 committed May 29, 2023
1 parent badd298 commit 3e3e110
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commitizen = "^3.2.2"
[tool.poetry.group.lint.dependencies]
black = "^23.1"
pre-commit = "^3.1.1"
ruff = "^0.0.269"
ruff = ">=0.0.269,<0.0.271"

[tool.poetry.group.netlify.dependencies]
nox = {version = "^2023.4.22", python = "3.8"}
Expand Down

0 comments on commit 3e3e110

Please sign in to comment.