Skip to content

Commit

Permalink
Bump ruff from 0.1.0 to 0.1.1 (#128)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.0 to 0.1.1.
<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.1</h2>
<h2>Changes</h2>
<h3>Rule changes</h3>
<ul>
<li>Add unsafe fix for <code>escape-sequence-in-docstring</code>
(<code>D301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7970">#7970</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Respect <code>#(deprecated)</code> attribute in configuration
options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8035">#8035</a>)</li>
<li>Add <code>[format|lint].exclude</code> options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8000">#8000</a>)</li>
<li>Respect <code>tab-size</code> setting in formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8006">#8006</a>)</li>
<li>Add <code>lint.preview</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8002">#8002</a>)</li>
</ul>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>literal-membership</code>
(<code>PLR6201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7973">#7973</a>)</li>
<li>[<code>pylint</code>] Implement
<code>too-many-boolean-expressions</code> (<code>PLR0916</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7975">#7975</a>)</li>
<li>[<code>pylint</code>] Implement <code>misplaced-bare-raise</code>
(<code>E0704</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7961">#7961</a>)</li>
<li>[<code>pylint</code>] Implement <code>global-at-module-level</code>
(<code>W0604</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8058">#8058</a>)</li>
<li>[<code>pylint</code>] Implement <code>unspecified-encoding</code>
(<code>PLW1514</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7939">#7939</a>)</li>
<li>Add fix for <code>triple-single-quotes</code> (<code>D300</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/7967">#7967</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>New code style badge for <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7878">#7878</a>)</li>
<li>Fix comments outside expression parentheses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7873">#7873</a>)</li>
<li>Add <code>--target-version</code> to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8055">#8055</a>)</li>
<li>Skip over parentheses when detecting <code>in</code> keyword (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8054">#8054</a>)</li>
<li>Add <code>--diff</code> option to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7937">#7937</a>)</li>
<li>Insert newline after nested function or class statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7946">#7946</a>)</li>
<li>Use <code>pass</code> over ellipsis in non-function/class contexts
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8049">#8049</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Lazily evaluate all PEP 695 type alias values (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8033">#8033</a>)</li>
<li>Avoid failed assertion when showing fixes from stdin (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8029">#8029</a>)</li>
<li>Avoid flagging HTTP and HTTPS literals in urllib-open (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8046">#8046</a>)</li>
<li>Avoid flagging <code>bad-dunder-method-name</code> for
<code>_</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8015">#8015</a>)</li>
<li>Remove Python 2-only methods from <code>URLOpen</code> audit (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8047">#8047</a>)</li>
<li>Use set bracket replacement for <code>iteration-over-set</code> to
preserve whitespace and comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8001">#8001</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update tutorial to match revised Ruff defaults (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8066">#8066</a>)</li>
<li>Update rule <code>B005</code> docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8028">#8028</a>)</li>
<li>Update GitHub actions example in docs to use
<code>--output-format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8014">#8014</a>)</li>
<li>Document <code>lint.preview</code> and <code>format.preview</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8032">#8032</a>)</li>
<li>Clarify that new rules should be added to
<code>RuleGroup::Preview</code>. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7989">#7989</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.1</h2>
<h3>Rule changes</h3>
<ul>
<li>Add unsafe fix for <code>escape-sequence-in-docstring</code>
(<code>D301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7970">#7970</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Respect <code>#(deprecated)</code> attribute in configuration
options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8035">#8035</a>)</li>
<li>Add <code>[format|lint].exclude</code> options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8000">#8000</a>)</li>
<li>Respect <code>tab-size</code> setting in formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8006">#8006</a>)</li>
<li>Add <code>lint.preview</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8002">#8002</a>)</li>
</ul>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>literal-membership</code>
(<code>PLR6201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7973">#7973</a>)</li>
<li>[<code>pylint</code>] Implement
<code>too-many-boolean-expressions</code> (<code>PLR0916</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7975">#7975</a>)</li>
<li>[<code>pylint</code>] Implement <code>misplaced-bare-raise</code>
(<code>E0704</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7961">#7961</a>)</li>
<li>[<code>pylint</code>] Implement <code>global-at-module-level</code>
(<code>W0604</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8058">#8058</a>)</li>
<li>[<code>pylint</code>] Implement <code>unspecified-encoding</code>
(<code>PLW1514</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7939">#7939</a>)</li>
<li>Add fix for <code>triple-single-quotes</code> (<code>D300</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/7967">#7967</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>New code style badge for <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7878">#7878</a>)</li>
<li>Fix comments outside expression parentheses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7873">#7873</a>)</li>
<li>Add <code>--target-version</code> to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8055">#8055</a>)</li>
<li>Skip over parentheses when detecting <code>in</code> keyword (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8054">#8054</a>)</li>
<li>Add <code>--diff</code> option to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7937">#7937</a>)</li>
<li>Insert newline after nested function or class statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7946">#7946</a>)</li>
<li>Use <code>pass</code> over ellipsis in non-function/class contexts
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8049">#8049</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Lazily evaluate all PEP 695 type alias values (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8033">#8033</a>)</li>
<li>Avoid failed assertion when showing fixes from stdin (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8029">#8029</a>)</li>
<li>Avoid flagging HTTP and HTTPS literals in urllib-open (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8046">#8046</a>)</li>
<li>Avoid flagging <code>bad-dunder-method-name</code> for
<code>_</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8015">#8015</a>)</li>
<li>Remove Python 2-only methods from <code>URLOpen</code> audit (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8047">#8047</a>)</li>
<li>Use set bracket replacement for <code>iteration-over-set</code> to
preserve whitespace and comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8001">#8001</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update tutorial to match revised Ruff defaults (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8066">#8066</a>)</li>
<li>Update rule <code>B005</code> docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8028">#8028</a>)</li>
<li>Update GitHub actions example in docs to use
<code>--output-format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8014">#8014</a>)</li>
<li>Document <code>lint.preview</code> and <code>format.preview</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8032">#8032</a>)</li>
<li>Clarify that new rules should be added to
<code>RuleGroup::Preview</code>. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7989">#7989</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/22cf451d517739da7dac9b50bd2cfffaa3a09697"><code>22cf451</code></a>
Release 0.1.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8073">#8073</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ec1be60dcbe297e0c9741e31295b5e9b59019b24"><code>ec1be60</code></a>
Remove leftover constant tuple reference (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8062">#8062</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a327b4da8752edb5c14c4d56b6ab6bc66a6a1f68"><code>a327b4d</code></a>
sequence -&gt; iterable in tutorial (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8067">#8067</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cdc5e2fb58c4b95b33dca9401daaf8a54d93559e"><code>cdc5e2f</code></a>
Update tutorial to match revised Ruff defaults (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8066">#8066</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b5d3caf0333d030eef373614a0d43c9b5146f74e"><code>b5d3caf</code></a>
chore: add code style badge for <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7878">#7878</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8f9753f58edd28996e425c13a94623e668480d12"><code>8f9753f</code></a>
Comments outside expression parentheses (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7873">#7873</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/67b043482a5d2f34ee57d7947482ee3429084d54"><code>67b0434</code></a>
Use <code>pass</code> over ellipsis in non-function/class contexts (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8049">#8049</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/693f957b90a8ae395d5c898870aa190b9d0acaac"><code>693f957</code></a>
[pylint] - implement <code>global-at-module-level</code>
(<code>W0604</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8058">#8058</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a85ed309ea01423c11ddd32c3c45f305aecd84dd"><code>a85ed30</code></a>
Respect <code>#(deprecated)</code> attribute in configuration options
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/8035">#8035</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2e225d7538429f7c451c457f1c7d62ff4a8e514e"><code>2e225d7</code></a>
Accept <code>--target-version</code> in the format CLI (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8055">#8055</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.0...v0.1.1">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.0&new-version=0.1.1)](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 Oct 20, 2023
2 parents 1f62cdd + 60228bc commit f18dbb9
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.1"
ruff = ">=0.0.275,<0.1.2"
yapf = "^0.40.1"

[build-system]
Expand Down

0 comments on commit f18dbb9

Please sign in to comment.