Skip to content

Commit

Permalink
Update dependency dev/ruff to v0.5.1 (#76)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [dev/ruff](https://docs.astral.sh/ruff)
([source](https://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| project.optional-dependencies | patch | `==0.5.0` -> `==0.5.1` |
`0.5.2` |

---

### Release Notes

<details>
<summary>astral-sh/ruff (dev/ruff)</summary>

###
[`v0.5.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#051)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/0.5.0...0.5.1)

##### Preview features

- \[`flake8-bugbear`] Implement mutable-contextvar-default (B039)
([#&#8203;12113](https://togithub.com/astral-sh/ruff/pull/12113))
- \[`pycodestyle`] Whitespace after decorator (`E204`)
([#&#8203;12140](https://togithub.com/astral-sh/ruff/pull/12140))
- \[`pytest`] Reverse `PT001` and `PT0023` defaults
([#&#8203;12106](https://togithub.com/astral-sh/ruff/pull/12106))

##### Rule changes

- Enable token-based rules on source with syntax errors
([#&#8203;11950](https://togithub.com/astral-sh/ruff/pull/11950))
- \[`flake8-bandit`] Detect `httpx` for `S113`
([#&#8203;12174](https://togithub.com/astral-sh/ruff/pull/12174))
- \[`numpy`] Update `NPY201` to include exception deprecations
([#&#8203;12065](https://togithub.com/astral-sh/ruff/pull/12065))
- \[`pylint`] Generate autofix for `duplicate-bases` (`PLE0241`)
([#&#8203;12105](https://togithub.com/astral-sh/ruff/pull/12105))

##### Server

- Avoid syntax error notification for source code actions
([#&#8203;12148](https://togithub.com/astral-sh/ruff/pull/12148))
- Consider the content of the new cells during notebook sync
([#&#8203;12203](https://togithub.com/astral-sh/ruff/pull/12203))
- Fix replacement edit range computation
([#&#8203;12171](https://togithub.com/astral-sh/ruff/pull/12171))

##### Bug fixes

- Disable auto-fix when source has syntax errors
([#&#8203;12134](https://togithub.com/astral-sh/ruff/pull/12134))
- Fix cache key collisions for paths with separators
([#&#8203;12159](https://togithub.com/astral-sh/ruff/pull/12159))
- Make `requires-python` inference robust to `==`
([#&#8203;12091](https://togithub.com/astral-sh/ruff/pull/12091))
- Use char-wise width instead of `str`-width
([#&#8203;12135](https://togithub.com/astral-sh/ruff/pull/12135))
- \[`pycodestyle`] Avoid `E275` if keyword followed by comma
([#&#8203;12136](https://togithub.com/astral-sh/ruff/pull/12136))
- \[`pycodestyle`] Avoid `E275` if keyword is followed by a semicolon
([#&#8203;12095](https://togithub.com/astral-sh/ruff/pull/12095))
- \[`pylint`] Skip [dummy
variables](https://docs.astral.sh/ruff/settings/#lint_dummy-variable-rgx)
for `PLR1704`
([#&#8203;12190](https://togithub.com/astral-sh/ruff/pull/12190))

##### Performance

- Remove allocation in `parse_identifier`
([#&#8203;12103](https://togithub.com/astral-sh/ruff/pull/12103))
- Use `CompactString` for `Identifier` AST node
([#&#8203;12101](https://togithub.com/astral-sh/ruff/pull/12101))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: erichesse <[email protected]>
  • Loading branch information
RKIMetadataExchange and erichesse authored Jul 17, 2024
1 parent 231f1a0 commit 2c88a2a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions pdm.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 @@ -12,7 +12,7 @@ optional-dependencies.dev = [
"black==24.4.2",
"ipdb==0.13.13",
"myst-parser==3.0.1",
"ruff==0.5.0",
"ruff==0.5.1",
"sphinx==7.3.7",
]

Expand Down

0 comments on commit 2c88a2a

Please sign in to comment.