Skip to content

Commit

Permalink
Bump ruff from 0.1.13 to 0.1.14 (#238)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.13 to 0.1.14.
<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.14</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Add fix for
<code>duplicate-value</code> (<code>B033</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9510">#9510</a>)</li>
<li>[<code>flake8-simplify</code>] Implement
<code>enumerate-for-loop</code> (<code>SIM113</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7777">#7777</a>)</li>
<li>[<code>pygrep_hooks</code>] Add fix for
<code>deprecated-log-warn</code> (<code>PGH002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9519">#9519</a>)</li>
<li>[<code>pylint</code>] Implement <code>import-private-name</code>
(<code>C2701</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/5920">#5920</a>)</li>
<li>[<code>refurb</code>] Implement <code>regex-flag-alias</code> with
fix (<code>FURB167</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9516">#9516</a>)</li>
<li>[<code>ruff</code>] Add rule and fix to sort contents of
<code>__all__</code> (<code>RUF022</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9474">#9474</a>)</li>
<li>[<code>tryceratops</code>] Add fix for
<code>error-instead-of-exception</code> (<code>TRY400</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9520">#9520</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-pyi</code>] Fix <code>PYI047</code> false negatives on
PEP-695 type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9566">#9566</a>)</li>
<li>[<code>flake8-pyi</code>] Fix <code>PYI049</code> false negatives on
call-based <code>TypedDict</code>s (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9567">#9567</a>)</li>
<li>[<code>pylint</code>] Exclude <code>self</code> and <code>cls</code>
when counting method arguments (<code>PLR0917</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9563">#9563</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li><code>--show-settings</code> displays active settings in a far more
readable format (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9464">#9464</a>)</li>
<li>Add <code>--extension</code> support to the formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9483">#9483</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Ignore preview status for fixable and unfixable selectors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9538">#9538</a>)</li>
<li>[<code>pycodestyle</code>] Use the configured tab size when
expanding indents (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9506">#9506</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Recursively visit deferred AST nodes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9541">#9541</a>)</li>
<li>Visit deferred lambdas before type definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9540">#9540</a>)</li>
<li>[<code>flake8-simplify</code>] Avoid some more
<code>enumerate-for-loop</code> false positives (<code>SIM113</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9515">#9515</a>)</li>
<li>[<code>pandas-vet</code>] Limit inplace diagnostics to methods that
accept inplace (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9495">#9495</a>)</li>
<li>[<code>pylint</code>] Add the <code>__prepare__</code> method to the
list of recognized dunder method (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9529">#9529</a>)</li>
<li>[<code>pylint</code>] Ignore unnecessary dunder calls within dunder
definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9496">#9496</a>)</li>
<li>[<code>refurb</code>] Avoid bailing when
<code>reimplemented-operator</code> is called on function
(<code>FURB118</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9556">#9556</a>)</li>
<li>[<code>ruff</code>] Avoid treating named expressions as static keys
(<code>RUF011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9494">#9494</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add instructions on using <code>noqa</code> with isort rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9555">#9555</a>)</li>
<li>Documentation update for URL giving 'page not found' (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9565">#9565</a>)</li>
<li>Fix admonition in dark mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9502">#9502</a>)</li>
<li>Update contributing docs to use <code>cargo bench -p
ruff_benchmark</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9535">#9535</a>)</li>
<li>Update emacs integration section to include
<code>emacs-ruff-format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9403">#9403</a>)</li>
<li>[<code>flake8-blind-except</code>] Document exceptions to
<code>blind-except</code> rule (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9580">#9580</a>)</li>
</ul>
<h2>Contributors</h2>
<!-- 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.14</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Add fix for
<code>duplicate-value</code> (<code>B033</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9510">#9510</a>)</li>
<li>[<code>flake8-simplify</code>] Implement
<code>enumerate-for-loop</code> (<code>SIM113</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7777">#7777</a>)</li>
<li>[<code>pygrep_hooks</code>] Add fix for
<code>deprecated-log-warn</code> (<code>PGH002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9519">#9519</a>)</li>
<li>[<code>pylint</code>] Implement <code>import-private-name</code>
(<code>C2701</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/5920">#5920</a>)</li>
<li>[<code>refurb</code>] Implement <code>regex-flag-alias</code> with
fix (<code>FURB167</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9516">#9516</a>)</li>
<li>[<code>ruff</code>] Add rule and fix to sort contents of
<code>__all__</code> (<code>RUF022</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9474">#9474</a>)</li>
<li>[<code>tryceratops</code>] Add fix for
<code>error-instead-of-exception</code> (<code>TRY400</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9520">#9520</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-pyi</code>] Fix <code>PYI047</code> false negatives on
PEP-695 type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9566">#9566</a>)</li>
<li>[<code>flake8-pyi</code>] Fix <code>PYI049</code> false negatives on
call-based <code>TypedDict</code>s (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9567">#9567</a>)</li>
<li>[<code>pylint</code>] Exclude <code>self</code> and <code>cls</code>
when counting method arguments (<code>PLR0917</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9563">#9563</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li><code>--show-settings</code> displays active settings in a far more
readable format (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9464">#9464</a>)</li>
<li>Add <code>--extension</code> support to the formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9483">#9483</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Ignore preview status for fixable and unfixable selectors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9538">#9538</a>)</li>
<li>[<code>pycodestyle</code>] Use the configured tab size when
expanding indents (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9506">#9506</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Recursively visit deferred AST nodes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9541">#9541</a>)</li>
<li>Visit deferred lambdas before type definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9540">#9540</a>)</li>
<li>[<code>flake8-simplify</code>] Avoid some more
<code>enumerate-for-loop</code> false positives (<code>SIM113</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9515">#9515</a>)</li>
<li>[<code>pandas-vet</code>] Limit inplace diagnostics to methods that
accept inplace (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9495">#9495</a>)</li>
<li>[<code>pylint</code>] Add the <code>__prepare__</code> method to the
list of recognized dunder method (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9529">#9529</a>)</li>
<li>[<code>pylint</code>] Ignore unnecessary dunder calls within dunder
definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9496">#9496</a>)</li>
<li>[<code>refurb</code>] Avoid bailing when
<code>reimplemented-operator</code> is called on function
(<code>FURB118</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9556">#9556</a>)</li>
<li>[<code>ruff</code>] Avoid treating named expressions as static keys
(<code>RUF011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9494">#9494</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add instructions on using <code>noqa</code> with isort rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9555">#9555</a>)</li>
<li>Documentation update for URL giving 'page not found' (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9565">#9565</a>)</li>
<li>Fix admonition in dark mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9502">#9502</a>)</li>
<li>Update contributing docs to use <code>cargo bench -p
ruff_benchmark</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9535">#9535</a>)</li>
<li>Update emacs integration section to include
<code>emacs-ruff-format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9403">#9403</a>)</li>
<li>[<code>flake8-blind-except</code>] Document exceptions to
<code>blind-except</code> rule (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9580">#9580</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/866bea60a5de3c59d2537b0f3a634ae0ac9afd94"><code>866bea6</code></a>
Bump version to v0.1.14 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9581">#9581</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/df617c3093f518554de675da542f25a6cab85b16"><code>df617c3</code></a>
[<code>flake8-blind-except</code>] Document exceptions to
<code>blind-except</code> rule (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9580">#9580</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/47ad7b4500d37a67c48edc22dd9f5ed8b2a09e6c"><code>47ad7b4</code></a>
Approximate tokens len (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9546">#9546</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b3a6f0ce81bfd547d8a01bfe5dee61cb1b8e73b3"><code>b3a6f0c</code></a>
[flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9567">#9567</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7be706641d3831ec7377daeb80917f32e71be5c0"><code>7be7066</code></a>
[<code>pylint</code>] Exclude <code>self</code> and <code>cls</code>
when counting method arguments (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9563">#9563</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/848e473f69d0451bc442b1d2ea63112a260f1f19"><code>848e473</code></a>
[flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9566">#9566</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/368e2793b5b43d23f698325d587aaf7bfbbeab04"><code>368e279</code></a>
Documentation update for URL giving 'page not found' (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9565">#9565</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/29c130f326cfd490c9b98a9eb692a5a310ce456e"><code>29c130f</code></a>
Make <code>ruff</code> the default binary (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9558">#9558</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8118d29419055b779719cc96cdf3dacb29ac47c9"><code>8118d29</code></a>
Rename <code>ruff_cli</code> crate to <code>ruff</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9557">#9557</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/45d374d8381f939c2bbfc3d556119de5b1fa3985"><code>45d374d</code></a>
[<code>refurb</code>] Avoid bailing when
<code>reimplemented-operator</code> is called on function ...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.13...v0.1.14">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.13&new-version=0.1.14)](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>
  • Loading branch information
github-actions[bot] authored Jan 22, 2024
2 parents 3e30137 + e6a8b59 commit 8629773
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 @@ -39,7 +39,7 @@ mypy = "^1.4"
bump2version = "^1.0.1"

[tool.poetry.group.dev.dependencies]
ruff = ">=0.0.274,<0.1.14"
ruff = ">=0.0.274,<0.1.15"
ruff-lsp = ">=0.0.35,<0.0.41"
python-lsp-server = "^1.7.3"

Expand Down

0 comments on commit 8629773

Please sign in to comment.