Skip to content

Commit

Permalink
Bump ruff from 0.1.11 to 0.1.13 (#302)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.11 to 0.1.13.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.1.13</h2>
<h2>Changes</h2>
<h3>Bug fixes</h3>
<ul>
<li>Include base pyproject when initializing cache settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9480">#9480</a>)</li>
<li>[<code>flake8-simplify</code>] Account for possibly-empty f-string
values in truthiness logic (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9484">#9484</a>)</li>
<li>[<code>pylint</code>] Add the missing period in
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9485">#9485</a>)</li>
<li>[<code>pylint</code>] Fix <code>__aenter__</code> message in
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9492">#9492</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a
href="https://github.com/KotlinIsland"><code>@​KotlinIsland</code></a></li>
<li><a
href="https://github.com/alex-700"><code>@​alex-700</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
</ul>
<h2>v0.1.12</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>Formatter: Hug multiline-strings in preview style (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9243">#9243</a>)</li>
<li>[<code>flake8-bandit</code>] Add <code>ssl-with-no-version</code>
(<code>S504</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9384">#9384</a>)</li>
<li>[<code>flake8-bandit</code>] Implement
<code>ssl-insecure-version</code> (<code>S502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9390">#9390</a>)</li>
<li>[<code>flake8-bandit</code>] Implement
<code>ssl-with-bad-defaults</code> (<code>S503</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9391">#9391</a>)</li>
<li>[<code>flake8-bandit</code>] Implement suspicious import rules
(<code>S4XX</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8831">#8831</a>)</li>
<li>[<code>flake8-simplify</code>] Implement
<code>zip-dict-keys-and-values</code> (<code>SIM911</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9460">#9460</a>)</li>
<li>[<code>pyflakes</code>] Add a fix for
<code>redefined-while-unused</code> (<code>F811</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9419">#9419</a>)</li>
<li>[<code>pylint</code>] Implement <code>unnecessary-dunder-call</code>
(<code>C2801</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9166">#9166</a>)</li>
<li>[<code>ruff</code>] Add <code>parenthesize-chained-operators</code>
(<code>RUF021</code>) to enforce parentheses in <code>a or b and
c</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9440">#9440</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-boolean-trap</code>] Allow Boolean positional
arguments in setters (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9429">#9429</a>)</li>
<li>[<code>flake8-builtins</code>] Restrict
<code>builtin-attribute-shadowing</code> (<code>A003</code>) to actual
shadowed references (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9462">#9462</a>)</li>
<li>[<code>flake8-pyi</code>] Add fix for
<code>generator-return-from-iter-method</code> (<code>PYI058</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9355">#9355</a>)</li>
<li>[<code>pyflakes</code>] Don't flag
<code>redefined-while-unused</code> (<code>F811</code>) in
<code>if</code> branches (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9418">#9418</a>)</li>
<li>[<code>pyupgrade</code>] Add some additional Python 3.12 typing
members to <code>deprecated-import</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9445">#9445</a>)</li>
<li>[<code>ruff</code>] Add fix for
<code>parenthesize-chained-operators</code> (<code>RUF021</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9449">#9449</a>)</li>
<li>[<code>ruff</code>] Include subscripts and attributes in static key
rule (<code>RUF011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9416">#9416</a>)</li>
<li>[<code>ruff</code>] Support variable keys in static dictionary key
rule (<code>RUF011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9411">#9411</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Generate deterministic IDs when formatting notebooks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9359">#9359</a>)</li>
<li>Allow <code># fmt: skip</code> with interspersed same-line comments
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9395">#9395</a>)</li>
<li>Parenthesize breaking named expressions in match guards (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9396">#9396</a>)</li>
</ul>
<h3>Bug fixes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.1.13</h2>
<h3>Bug fixes</h3>
<ul>
<li>Include base pyproject when initializing cache settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9480">#9480</a>)</li>
<li>[<code>flake8-simplify</code>] Account for possibly-empty f-string
values in truthiness logic (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9484">#9484</a>)</li>
<li>[<code>pylint</code>] Add the missing period in
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9485">#9485</a>)</li>
<li>[<code>pylint</code>] Fix <code>__aenter__</code> message in
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9492">#9492</a>)</li>
</ul>
<h2>0.1.12</h2>
<h3>Preview features</h3>
<ul>
<li>Formatter: Hug multiline-strings in preview style (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9243">#9243</a>)</li>
<li>[<code>flake8-bandit</code>] Add <code>ssl-with-no-version</code>
(<code>S504</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9384">#9384</a>)</li>
<li>[<code>flake8-bandit</code>] Implement
<code>ssl-insecure-version</code> (<code>S502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9390">#9390</a>)</li>
<li>[<code>flake8-bandit</code>] Implement
<code>ssl-with-bad-defaults</code> (<code>S503</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9391">#9391</a>)</li>
<li>[<code>flake8-bandit</code>] Implement suspicious import rules
(<code>S4XX</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8831">#8831</a>)</li>
<li>[<code>flake8-simplify</code>] Implement
<code>zip-dict-keys-and-values</code> (<code>SIM911</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9460">#9460</a>)</li>
<li>[<code>pyflakes</code>] Add a fix for
<code>redefined-while-unused</code> (<code>F811</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9419">#9419</a>)</li>
<li>[<code>pylint</code>] Implement <code>unnecessary-dunder-call</code>
(<code>C2801</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9166">#9166</a>)</li>
<li>[<code>ruff</code>] Add <code>parenthesize-chained-operators</code>
(<code>RUF021</code>) to enforce parentheses in <code>a or b and
c</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9440">#9440</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-boolean-trap</code>] Allow Boolean positional
arguments in setters (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9429">#9429</a>)</li>
<li>[<code>flake8-builtins</code>] Restrict
<code>builtin-attribute-shadowing</code> (<code>A003</code>) to actual
shadowed references (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9462">#9462</a>)</li>
<li>[<code>flake8-pyi</code>] Add fix for
<code>generator-return-from-iter-method</code> (<code>PYI058</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9355">#9355</a>)</li>
<li>[<code>pyflakes</code>] Don't flag
<code>redefined-while-unused</code> (<code>F811</code>) in
<code>if</code> branches (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9418">#9418</a>)</li>
<li>[<code>pyupgrade</code>] Add some additional Python 3.12 typing
members to <code>deprecated-import</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9445">#9445</a>)</li>
<li>[<code>ruff</code>] Add fix for
<code>parenthesize-chained-operators</code> (<code>RUF021</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9449">#9449</a>)</li>
<li>[<code>ruff</code>] Include subscripts and attributes in static key
rule (<code>RUF011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9416">#9416</a>)</li>
<li>[<code>ruff</code>] Support variable keys in static dictionary key
rule (<code>RUF011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9411">#9411</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Generate deterministic IDs when formatting notebooks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9359">#9359</a>)</li>
<li>Allow <code># fmt: skip</code> with interspersed same-line comments
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9395">#9395</a>)</li>
<li>Parenthesize breaking named expressions in match guards (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9396">#9396</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Add cell indexes to all diagnostics (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9387">#9387</a>)</li>
<li>Avoid infinite loop in constant vs. <code>None</code> comparisons
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9376">#9376</a>)</li>
<li>Handle raises with implicit alternate branches (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9377">#9377</a>)</li>
<li>Ignore trailing quotes for unclosed l-brace errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9388">#9388</a>)</li>
<li>Respect multi-segment submodule imports when resolving qualified
names (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9382">#9382</a>)</li>
<li>Use <code>DisplayParseError</code> for stdin parser errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9409">#9409</a>)</li>
<li>Use <code>comment_ranges</code> for isort directive extraction (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9414">#9414</a>)</li>
<li>Use transformed source code for diagnostic locations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9408">#9408</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/d16c4a2d25a27dad1ef26c0e496471139adb4522"><code>d16c4a2</code></a>
Bump version to v0.1.13 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9493">#9493</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1602df164359e050f0f8fdbbaa60ae5ffb357be5"><code>1602df1</code></a>
Fix message for <strong>aenter</strong> in PLC2801 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9492">#9492</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/395cdf04e519ca516b7f9822effd9275ea12ea7d"><code>395cdf0</code></a>
Fix backticks in RUF021 docs (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9488">#9488</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3daf6e1b6ddef48ee6d429c5db16e0283ab01b84"><code>3daf6e1</code></a>
(🐞) Add the missing period in error message (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9485">#9485</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a31a314b2be5170c591abbd8819ab17444b7a723"><code>a31a314</code></a>
Account for possibly-empty f-string values in truthiness logic (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9484">#9484</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f9dd7bb190e0fd4d85ab1f908ae4c2bb8a1ffef0"><code>f9dd7bb</code></a>
Remove <code>unreachable-code</code> feature (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9463">#9463</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/350dcb807ac3e1f58b895149a7f8e4c680ffaa5a"><code>350dcb8</code></a>
Include base pyproject when initializing cache settings (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9480">#9480</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/55f8f3b2cc64188393e978af8e80a7309714eda4"><code>55f8f3b</code></a>
Bump version to v0.1.12 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9475">#9475</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/eb4ed2471b48d6ccba74064c65e37e32cba41a6c"><code>eb4ed24</code></a>
[<code>flake8-simplify</code>] Implement <code>SIM911</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9460">#9460</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f192c725961b346ade010fa32690b4a83f681c0f"><code>f192c72</code></a>
Remove type parameter from <code>parse_*</code> methods (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9466">#9466</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.11...v0.1.13">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.1.11&new-version=0.1.13)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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
dependabot[bot] authored Jan 15, 2024
1 parent faeef57 commit 5c6f3ad
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 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 @@ -28,7 +28,7 @@ protobuf = "^4.25.1"


[tool.poetry.group.dev.dependencies]
ruff = "^0.1.11"
ruff = "^0.1.13"
mypy = "^1.8.0"
mypy-extensions = "^1.0.0"
isort = "^5.13.2"
Expand Down

0 comments on commit 5c6f3ad

Please sign in to comment.