Skip to content

Commit

Permalink
Bump ruff from 0.1.14 to 0.1.15 (#307)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.14 to 0.1.15.
<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.15</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>Error when <code>NURSERY</code> selector is used with
<code>--preview</code> (<a
href="https://github.com/astral-sh/ruff/pull/9682">#9682</a>)</li>
<li>Preserve indentation around multiline strings in formatter (<a
href="https://github.com/astral-sh/ruff/pull/9637">#9637</a>)</li>
<li>[<code>flake8-return</code>] Add fixes for all rules
(<code>RET505</code>, <code>RET506</code>, <code>RET507</code>,
<code>RET508</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9595">#9595</a>)</li>
<li>[<code>flake8-simplify</code>] Add fix for
<code>if-with-same-arms</code> (<code>SIM114</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9591">#9591</a>)</li>
<li>[<code>pycodestyle</code>] Add fix for
<code>multiple-imports-on-one-line</code> (<code>E401</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9518">#9518</a>)</li>
<li>[<code>pylint</code>] Add fix for <code>collapsible-else-if</code>
(<code>PLR5501</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9594">#9594</a>)</li>
<li>[<code>pylint</code>] Add fix for <code>useless-else-on-loop</code>
(<code>PLW0120</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9590">#9590</a>)</li>
<li>[<code>pylint</code>] Implement <code>assigning-non-slot</code>
(<code>E0237</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9623">#9623</a>)</li>
<li>[<code>pylint</code>] Implement <code>potential-index-error</code>
(<code>PLE0643</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9545">#9545</a>)</li>
<li>[<code>pylint</code>] Implement <code>too-many-nested-blocks</code>
(<code>PLR1702</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9172">#9172</a>)</li>
<li>[<code>ruff</code>] Add rule to sort <code>__slots__</code> and
<code>__match_args__</code> (<a
href="https://github.com/astral-sh/ruff/pull/9564">#9564</a>)</li>
<li>[<code>ruff</code>] Detect unnecessary <code>dict</code>
comprehensions for iterables (<code>RUF025</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9613">#9613</a>)</li>
<li>[<code>ruff</code>] Guard against use of
<code>default_factory</code> as a keyword argument (<code>RUF026</code>)
(<a
href="https://github.com/astral-sh/ruff/pull/9651">#9651</a>)</li>
<li>[<code>ruff</code>] Implement <code>mutable-fromkeys-value</code>
(<code>RUF024</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9597">#9597</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Enable auto-wrapping of <code>--help</code> output (<a
href="https://github.com/astral-sh/ruff/pull/9633">#9633</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid rendering display-only rules as fixable (<a
href="https://github.com/astral-sh/ruff/pull/9649">#9649</a>)</li>
<li>Detect automagic-like assignments in notebooks (<a
href="https://github.com/astral-sh/ruff/pull/9653">#9653</a>)</li>
<li>Generate custom JSON schema for dynamic setting (<a
href="https://github.com/astral-sh/ruff/pull/9632">#9632</a>)</li>
<li>[<code>flake8-no-pep420</code>] Include global <code>--config</code>
when determining namespace packages (<a
href="https://github.com/astral-sh/ruff/pull/9603">#9603</a>)</li>
<li>[<code>flake8-pie</code>] Omit bound tuples passed to
<code>.startswith</code> or <code>.endswith</code> (<a
href="https://github.com/astral-sh/ruff/pull/9661">#9661</a>)</li>
<li>[<code>flake8-return</code>] Avoid panic when fixing inlined else
blocks (<a
href="https://github.com/astral-sh/ruff/pull/9657">#9657</a>)</li>
<li>[<code>flake8-return</code>] Consider exception suppression in
unnecessary assignment (<a
href="https://github.com/astral-sh/ruff/pull/9673">#9673</a>)</li>
<li>[<code>flake8-return</code>] Take <code>NoReturn</code> annotation
into account when analyzing implicit returns (<a
href="https://github.com/astral-sh/ruff/pull/9636">#9636</a>)</li>
<li>[<code>flake8-simplify</code>] Support inverted returns in
<code>needless-bool</code> (<code>SIM103</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9619">#9619</a>)</li>
<li>[<code>flake8-type-checking</code>] Add Pydantic's
<code>BaseConfig</code> to default-copy list (<a
href="https://github.com/astral-sh/ruff/pull/9650">#9650</a>)</li>
<li>[<code>flake8-type-checking</code>] Avoid marking
<code>InitVar</code> as a typing-only annotation (<a
href="https://github.com/astral-sh/ruff/pull/9688">#9688</a>)</li>
<li>[<code>pycodestyle</code>] Allow <code>dtype</code> comparisons in
<code>type-comparison</code> (<a
href="https://github.com/astral-sh/ruff/pull/9676">#9676</a>)</li>
<li>[<code>pydocstyle</code>] Re-implement
<code>last-line-after-section</code> (<code>D413</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9654">#9654</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-pytest-style</code>] Add fix safety documentation for
<code>duplicate-parameterize-test-cases</code> (<a
href="https://github.com/astral-sh/ruff/pull/9678">#9678</a>)</li>
<li>[<code>pylint</code>] Document <code>literal-membership</code> fix
safety conditions (<a
href="https://github.com/astral-sh/ruff/pull/9677">#9677</a>)</li>
<li>[<code>isort</code>] Fix reference to <code>isort</code> rule code
(<a
href="https://github.com/astral-sh/ruff/pull/9598">#9598</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/BurntSushi"><code>@​BurntSushi</code></a></li>
</ul>
<!-- 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.15</h2>
<h3>Preview features</h3>
<ul>
<li>Error when <code>NURSERY</code> selector is used with
<code>--preview</code> (<a
href="https://github.com/astral-sh/ruff/pull/9682">#9682</a>)</li>
<li>Preserve indentation around multiline strings in formatter (<a
href="https://github.com/astral-sh/ruff/pull/9637">#9637</a>)</li>
<li>[<code>flake8-return</code>] Add fixes for all rules
(<code>RET505</code>, <code>RET506</code>, <code>RET507</code>,
<code>RET508</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9595">#9595</a>)</li>
<li>[<code>flake8-simplify</code>] Add fix for
<code>if-with-same-arms</code> (<code>SIM114</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9591">#9591</a>)</li>
<li>[<code>pycodestyle</code>] Add fix for
<code>multiple-imports-on-one-line</code> (<code>E401</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9518">#9518</a>)</li>
<li>[<code>pylint</code>] Add fix for <code>collapsible-else-if</code>
(<code>PLR5501</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9594">#9594</a>)</li>
<li>[<code>pylint</code>] Add fix for <code>useless-else-on-loop</code>
(<code>PLW0120</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9590">#9590</a>)</li>
<li>[<code>pylint</code>] Implement <code>assigning-non-slot</code>
(<code>E0237</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9623">#9623</a>)</li>
<li>[<code>pylint</code>] Implement <code>potential-index-error</code>
(<code>PLE0643</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9545">#9545</a>)</li>
<li>[<code>pylint</code>] Implement <code>too-many-nested-blocks</code>
(<code>PLR1702</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9172">#9172</a>)</li>
<li>[<code>ruff</code>] Add rule to sort <code>__slots__</code> and
<code>__match_args__</code> (<a
href="https://github.com/astral-sh/ruff/pull/9564">#9564</a>)</li>
<li>[<code>ruff</code>] Detect unnecessary <code>dict</code>
comprehensions for iterables (<code>RUF025</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9613">#9613</a>)</li>
<li>[<code>ruff</code>] Guard against use of
<code>default_factory</code> as a keyword argument (<code>RUF026</code>)
(<a
href="https://github.com/astral-sh/ruff/pull/9651">#9651</a>)</li>
<li>[<code>ruff</code>] Implement <code>mutable-fromkeys-value</code>
(<code>RUF024</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9597">#9597</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Enable auto-wrapping of <code>--help</code> output (<a
href="https://github.com/astral-sh/ruff/pull/9633">#9633</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid rendering display-only rules as fixable (<a
href="https://github.com/astral-sh/ruff/pull/9649">#9649</a>)</li>
<li>Detect automagic-like assignments in notebooks (<a
href="https://github.com/astral-sh/ruff/pull/9653">#9653</a>)</li>
<li>Generate custom JSON schema for dynamic setting (<a
href="https://github.com/astral-sh/ruff/pull/9632">#9632</a>)</li>
<li>[<code>flake8-no-pep420</code>] Include global <code>--config</code>
when determining namespace packages (<a
href="https://github.com/astral-sh/ruff/pull/9603">#9603</a>)</li>
<li>[<code>flake8-pie</code>] Omit bound tuples passed to
<code>.startswith</code> or <code>.endswith</code> (<a
href="https://github.com/astral-sh/ruff/pull/9661">#9661</a>)</li>
<li>[<code>flake8-return</code>] Avoid panic when fixing inlined else
blocks (<a
href="https://github.com/astral-sh/ruff/pull/9657">#9657</a>)</li>
<li>[<code>flake8-return</code>] Consider exception suppression in
unnecessary assignment (<a
href="https://github.com/astral-sh/ruff/pull/9673">#9673</a>)</li>
<li>[<code>flake8-return</code>] Take <code>NoReturn</code> annotation
into account when analyzing implicit returns (<a
href="https://github.com/astral-sh/ruff/pull/9636">#9636</a>)</li>
<li>[<code>flake8-simplify</code>] Support inverted returns in
<code>needless-bool</code> (<code>SIM103</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9619">#9619</a>)</li>
<li>[<code>flake8-type-checking</code>] Add Pydantic's
<code>BaseConfig</code> to default-copy list (<a
href="https://github.com/astral-sh/ruff/pull/9650">#9650</a>)</li>
<li>[<code>flake8-type-checking</code>] Avoid marking
<code>InitVar</code> as a typing-only annotation (<a
href="https://github.com/astral-sh/ruff/pull/9688">#9688</a>)</li>
<li>[<code>pycodestyle</code>] Allow <code>dtype</code> comparisons in
<code>type-comparison</code> (<a
href="https://github.com/astral-sh/ruff/pull/9676">#9676</a>)</li>
<li>[<code>pydocstyle</code>] Re-implement
<code>last-line-after-section</code> (<code>D413</code>) (<a
href="https://github.com/astral-sh/ruff/pull/9654">#9654</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-pytest-style</code>] Add fix safety documentation for
<code>duplicate-parameterize-test-cases</code> (<a
href="https://github.com/astral-sh/ruff/pull/9678">#9678</a>)</li>
<li>[<code>pylint</code>] Document <code>literal-membership</code> fix
safety conditions (<a
href="https://github.com/astral-sh/ruff/pull/9677">#9677</a>)</li>
<li>[<code>isort</code>] Fix reference to <code>isort</code> rule code
(<a
href="https://github.com/astral-sh/ruff/pull/9598">#9598</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/a7755d7a8df9a4fdcf3ef1a819be374ecb2fd384"><code>a7755d7</code></a>
Bump version to v0.1.15 (<a
href="https://github.com/astral-sh/ruff/issues/9690">#9690</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/11449acfd9afbdc150d9a4453c22e1b54661bd55"><code>11449ac</code></a>
Avoid marking <code>InitVar</code> as a typing-only annotation (<a
href="https://github.com/astral-sh/ruff/issues/9688">#9688</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4ccbacd44b79ad7277b69b253cad3fb689f3307f"><code>4ccbacd</code></a>
Error if the NURSERY selector is used with preview (<a
href="https://github.com/astral-sh/ruff/issues/9682">#9682</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/05a2f522069701acff0267547799871014add0a2"><code>05a2f52</code></a>
Document <code>literal-membership</code> fix safety conditions (<a
href="https://github.com/astral-sh/ruff/issues/9677">#9677</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a6f7100b55fae748a7f1185ae3f768744c49722d"><code>a6f7100</code></a>
[<code>pycodestyle</code>] Allow <code>dtype</code> comparisons in
<code>type-comparison</code> (<a
href="https://github.com/astral-sh/ruff/issues/9676">#9676</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/50122d2308840bd085e4abc9552a636b41c3b534"><code>50122d2</code></a>
[<code>flake8-pytest-style</code>] Add fix safety documentation for
`duplicate-parameter...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ad2cfa3dbaf74c90916f6a2ab1ab59ea01a73c6c"><code>ad2cfa3</code></a>
[flake8-return] Consider exception suppress for unnecessary assignment
(<a
href="https://github.com/astral-sh/ruff/issues/9673">#9673</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0045032905e16c5208fcb2c78b9f1826e675186c"><code>0045032</code></a>
Set source type: Stub for black tests with options (<a
href="https://github.com/astral-sh/ruff/issues/9674">#9674</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/bea8f2ee3acd2acb25ddb80fed2959fa94874264"><code>bea8f2e</code></a>
Detect automagic-like assignments in notebooks (<a
href="https://github.com/astral-sh/ruff/issues/9653">#9653</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c8074b0e181063f2f0aaf71ac01416d049c69e89"><code>c8074b0</code></a>
Bump serde_with from 3.5.0 to 3.5.1 (<a
href="https://github.com/astral-sh/ruff/issues/9672">#9672</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.14...v0.1.15">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.14&new-version=0.1.15)](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 30, 2024
2 parents 730c716 + 477461e commit 781505c
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 @@ -31,7 +31,7 @@ mypy = "^1.3.0"
black = ">=23.3,<25.0"
isort = "^5.12.0"
pre-commit = "^3.3.2"
ruff = ">=0.0.269,<0.1.15"
ruff = ">=0.0.269,<0.1.16"

[tool.poetry.group.test.dependencies]
pydantic = ">=1.10.8,<3.0.0"
Expand Down

0 comments on commit 781505c

Please sign in to comment.