Skip to content

Commit

Permalink
Bump ruff from 0.1.4 to 0.1.5 (#151)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.4 to 0.1.5.
<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.5</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Implement <code>mako-templates</code>
(<code>S702</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8533">#8533</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO105</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8490">#8490</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO109</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8534">#8534</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO110</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8537">#8537</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO115</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8486">#8486</a>)</li>
<li>[<code>refurb</code>] Implement <code>type-none-comparison</code>
(<code>FURB169</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8487">#8487</a>)</li>
<li>Flag all comparisons against builtin types in <code>E721</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8491">#8491</a>)</li>
<li>Make <code>SIM118</code> fix as safe when the expression is a known
dictionary (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8525">#8525</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix multiline lambda expression statement formatting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8466">#8466</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add hidden <code>--extension</code> to override inference of source
type from file extension (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8373">#8373</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Account for selector specificity when merging
<code>extend_unsafe_fixes</code> and <code>override
extend_safe_fixes</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8444">#8444</a>)</li>
<li>Add support for disabling cache with <code>RUFF_NO_CACHE</code>
environment variable (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8538">#8538</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>E721</code>] Flag comparisons to <code>memoryview</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8485">#8485</a>)</li>
<li>Allow collapsed-ellipsis bodies in other statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8499">#8499</a>)</li>
<li>Avoid <code>D301</code> autofix for <code>u</code> prefixed strings
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8495">#8495</a>)</li>
<li>Only flag <code>flake8-trio</code> rules when <code>trio</code>
import is present (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8550">#8550</a>)</li>
<li>Reject more syntactically invalid Python programs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8524">#8524</a>)</li>
<li>Avoid raising <code>TRIO115</code> violations for
<code>trio.sleep(...)</code> calls with non-number values (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8532">#8532</a>)</li>
<li>Fix <code>F841</code> false negative on assignment to multiple
variables (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8489">#8489</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix link to isort <code>known-first-party</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8562">#8562</a>)</li>
<li>Add notes on fix safety to a few rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8500">#8500</a>)</li>
<li>Add missing toml config tabs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8512">#8512</a>)</li>
<li>Add instructions for configuration of Emacs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8488">#8488</a>)</li>
<li>Improve detail link contrast in dark mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8548">#8548</a>)</li>
<li>Fix typo in example (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8506">#8506</a>)</li>
<li>Added tabs for configuration files in the documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8480">#8480</a>)</li>
<li>Recommend <code>project.requires-python</code> over
<code>target-version</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8513">#8513</a>)</li>
<li>Add singleton escape hatch to <code>B008</code> documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8501">#8501</a>)</li>
<li>Fix tab configuration docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8502">#8502</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.5</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Implement <code>mako-templates</code>
(<code>S702</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8533">#8533</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO105</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8490">#8490</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO109</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8534">#8534</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO110</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8537">#8537</a>)</li>
<li>[<code>flake8-trio</code>] Implement <code>TRIO115</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8486">#8486</a>)</li>
<li>[<code>refurb</code>] Implement <code>type-none-comparison</code>
(<code>FURB169</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8487">#8487</a>)</li>
<li>Flag all comparisons against builtin types in <code>E721</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8491">#8491</a>)</li>
<li>Make <code>SIM118</code> fix as safe when the expression is a known
dictionary (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8525">#8525</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix multiline lambda expression statement formatting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8466">#8466</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add hidden <code>--extension</code> to override inference of source
type from file extension (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8373">#8373</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Account for selector specificity when merging
<code>extend_unsafe_fixes</code> and <code>override
extend_safe_fixes</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8444">#8444</a>)</li>
<li>Add support for disabling cache with <code>RUFF_NO_CACHE</code>
environment variable (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8538">#8538</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>E721</code>] Flag comparisons to <code>memoryview</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8485">#8485</a>)</li>
<li>Allow collapsed-ellipsis bodies in other statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8499">#8499</a>)</li>
<li>Avoid <code>D301</code> autofix for <code>u</code> prefixed strings
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8495">#8495</a>)</li>
<li>Only flag <code>flake8-trio</code> rules when <code>trio</code>
import is present (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8550">#8550</a>)</li>
<li>Reject more syntactically invalid Python programs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8524">#8524</a>)</li>
<li>Avoid raising <code>TRIO115</code> violations for
<code>trio.sleep(...)</code> calls with non-number values (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8532">#8532</a>)</li>
<li>Fix <code>F841</code> false negative on assignment to multiple
variables (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8489">#8489</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix link to isort <code>known-first-party</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8562">#8562</a>)</li>
<li>Add notes on fix safety to a few rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8500">#8500</a>)</li>
<li>Add missing toml config tabs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8512">#8512</a>)</li>
<li>Add instructions for configuration of Emacs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8488">#8488</a>)</li>
<li>Improve detail link contrast in dark mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8548">#8548</a>)</li>
<li>Fix typo in example (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8506">#8506</a>)</li>
<li>Added tabs for configuration files in the documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8480">#8480</a>)</li>
<li>Recommend <code>project.requires-python</code> over
<code>target-version</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8513">#8513</a>)</li>
<li>Add singleton escape hatch to <code>B008</code> documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8501">#8501</a>)</li>
<li>Fix tab configuration docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8502">#8502</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/3956f38999ff7c036e9d1ac9410b3eff834cb158"><code>3956f38</code></a>
Prepare release 0.1.5 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8570">#8570</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fe9727ac38db6d3b8ab3efcbf4e1766eb2ec9736"><code>fe9727a</code></a>
Add <code>rooster</code> release management configuration and
instructions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8567">#8567</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3ebaca52464e1db3d808adca9c3de09b90dabfaf"><code>3ebaca5</code></a>
Doc: Fix link to isort <code>known-first-party</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8562">#8562</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7391f74cbcf24b9c09244a3376bbb2a0ca8929d4"><code>7391f74</code></a>
Add hidden <code>--extension</code> to override inference of source type
from file exten...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/71e93a9fa40d98414c7859b827dac7d6eda7d523"><code>71e93a9</code></a>
Only flag flake8-trio rule when trio is present (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8550">#8550</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e2c7b1ece6db83af919c4c2e006bf00496d7fa73"><code>e2c7b1e</code></a>
[TRIO] Add TRIO109 rule (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8534">#8534</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/621e98f4523267526391947154bb9f64fdb8c9c6"><code>621e98f</code></a>
Improve detail link contrast in dark mode (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8548">#8548</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0126f74c29c5647295bebf4b42d79f12b7ffd8e4"><code>0126f74</code></a>
Add TRIO110 rule (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8537">#8537</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fce9f634180989089d6f761913b34d7219a10138"><code>fce9f63</code></a>
[<code>flake8-bandit</code>] Implement <code>mako-templates</code>
(<code>S702</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8533">#8533</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ce549e75bc93e200f82b3bde48167efb60f8f750"><code>ce549e7</code></a>
Update pre-commit documentation (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8545">#8545</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.4...v0.1.5">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.4&new-version=0.1.5)](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 Nov 9, 2023
2 parents 415b775 + 256079a commit 4943e8b
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 @@ -15,7 +15,7 @@ boto3 = "^1.26.163"
pytest = "^7.4.0"
moto = "^4.1.12"
black = "^23.3.0"
ruff = ">=0.0.275,<0.1.5"
ruff = ">=0.0.275,<0.1.6"
yapf = "^0.40.1"

[build-system]
Expand Down

0 comments on commit 4943e8b

Please sign in to comment.