Skip to content

Commit

Permalink
Update dependency ruff to v0.1.4 (#33)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff)
([source](https://github.com/astral-sh/ruff),
[changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `0.1.3` -> `0.1.4` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.3/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.3/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.1.4`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#014)

[Compare
Source](https://github.com/astral-sh/ruff/compare/v0.1.3...v0.1.4)

##### Preview features

- \[`flake8-trio`] Implement `timeout-without-await` (`TRIO001`)
([#&#8203;8439](https://github.com/astral-sh/ruff/pull/8439))
- \[`numpy`] Implement NumPy 2.0 migration rule (`NPY200`)
([#&#8203;7702](https://github.com/astral-sh/ruff/pull/7702))
- \[`pylint`] Implement `bad-open-mode` (`W1501`)
([#&#8203;8294](https://github.com/astral-sh/ruff/pull/8294))
- \[`pylint`] Implement `import-outside-toplevel` (`C0415`) rule
([#&#8203;5180](https://github.com/astral-sh/ruff/pull/5180))
- \[`pylint`] Implement `useless-with-lock` (`W2101`)
([#&#8203;8321](https://github.com/astral-sh/ruff/pull/8321))
- \[`pyupgrade`] Implement `timeout-error-alias` (`UP041`)
([#&#8203;8476](https://github.com/astral-sh/ruff/pull/8476))
- \[`refurb`] Implement `isinstance-type-none` (`FURB168`)
([#&#8203;8308](https://github.com/astral-sh/ruff/pull/8308))
- Detect confusable Unicode-to-Unicode units in `RUF001`, `RUF002`, and
`RUF003` ([#&#8203;4430](https://github.com/astral-sh/ruff/pull/4430))
- Add newline after module docstrings in preview style
([#&#8203;8283](https://github.com/astral-sh/ruff/pull/8283))

##### Formatter

- Add a note on line-too-long to the formatter docs
([#&#8203;8314](https://github.com/astral-sh/ruff/pull/8314))
- Preserve trailing statement semicolons when using `fmt: skip`
([#&#8203;8273](https://github.com/astral-sh/ruff/pull/8273))
- Preserve trailing semicolons when using `fmt: off`
([#&#8203;8275](https://github.com/astral-sh/ruff/pull/8275))
- Avoid duplicating linter-formatter compatibility warnings
([#&#8203;8292](https://github.com/astral-sh/ruff/pull/8292))
- Avoid inserting a newline after function docstrings
([#&#8203;8375](https://github.com/astral-sh/ruff/pull/8375))
- Insert newline between docstring and following own line comment
([#&#8203;8216](https://github.com/astral-sh/ruff/pull/8216))
- Split tuples in return positions by comma first
([#&#8203;8280](https://github.com/astral-sh/ruff/pull/8280))
- Avoid treating byte strings as docstrings
([#&#8203;8350](https://github.com/astral-sh/ruff/pull/8350))
- Add `--line-length` option to `format` command
([#&#8203;8363](https://github.com/astral-sh/ruff/pull/8363))
- Avoid parenthesizing unsplittable because of comments
([#&#8203;8431](https://github.com/astral-sh/ruff/pull/8431))

##### CLI

- Add `--output-format` to `ruff rule` and `ruff linter`
([#&#8203;8203](https://github.com/astral-sh/ruff/pull/8203))

##### Bug fixes

- Respect `--force-exclude` in `lint.exclude` and `format.exclude`
([#&#8203;8393](https://github.com/astral-sh/ruff/pull/8393))
- Respect `--extend-per-file-ignores` on the CLI
([#&#8203;8329](https://github.com/astral-sh/ruff/pull/8329))
- Extend `bad-dunder-method-name` to permit `__index__`
([#&#8203;8300](https://github.com/astral-sh/ruff/pull/8300))
- Fix panic with 8 in octal escape
([#&#8203;8356](https://github.com/astral-sh/ruff/pull/8356))
- Avoid raising `D300` when both triple quote styles are present
([#&#8203;8462](https://github.com/astral-sh/ruff/pull/8462))
- Consider unterminated f-strings in `FStringRanges`
([#&#8203;8154](https://github.com/astral-sh/ruff/pull/8154))
- Avoid including literal `shell=True` for truthy, non-`True`
diagnostics
([#&#8203;8359](https://github.com/astral-sh/ruff/pull/8359))
- Avoid triggering single-element test for starred expressions
([#&#8203;8433](https://github.com/astral-sh/ruff/pull/8433))
- Detect and ignore Jupyter automagics
([#&#8203;8398](https://github.com/astral-sh/ruff/pull/8398))
- Fix invalid E231 error with f-strings
([#&#8203;8369](https://github.com/astral-sh/ruff/pull/8369))
- Avoid triggering `NamedTuple` rewrite with starred annotation
([#&#8203;8434](https://github.com/astral-sh/ruff/pull/8434))
- Avoid un-setting bracket flag in logical lines
([#&#8203;8380](https://github.com/astral-sh/ruff/pull/8380))
- Place 'r' prefix before 'f' for raw format strings
([#&#8203;8464](https://github.com/astral-sh/ruff/pull/8464))
- Remove trailing periods from NumPy 2.0 code actions
([#&#8203;8475](https://github.com/astral-sh/ruff/pull/8475))
- Fix bug where `PLE1307` was raised when formatting `%c` with
characters
([#&#8203;8407](https://github.com/astral-sh/ruff/pull/8407))
- Remove unicode flag from comparable
([#&#8203;8440](https://github.com/astral-sh/ruff/pull/8440))
- Improve B015 message
([#&#8203;8295](https://github.com/astral-sh/ruff/pull/8295))
- Use `fixedOverflowWidgets` for playground popover
([#&#8203;8458](https://github.com/astral-sh/ruff/pull/8458))
- Mark `byte_bounds` as a non-backwards-compatible NumPy 2.0 change
([#&#8203;8474](https://github.com/astral-sh/ruff/pull/8474))

##### Internals

- Add a dedicated cache directory per Ruff version
([#&#8203;8333](https://github.com/astral-sh/ruff/pull/8333))
- Allow selective caching for `--fix` and `--diff`
([#&#8203;8316](https://github.com/astral-sh/ruff/pull/8316))
- Improve performance of comment parsing
([#&#8203;8193](https://github.com/astral-sh/ruff/pull/8193))
- Improve performance of string parsing
([#&#8203;8227](https://github.com/astral-sh/ruff/pull/8227))
- Use a dedicated sort key for isort import sorting
([#&#8203;7963](https://github.com/astral-sh/ruff/pull/7963))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fulcrum-so/ziggy-pydust-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 3, 2023
1 parent bce88bb commit 5aa65a5
Showing 1 changed file with 19 additions and 19 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.

0 comments on commit 5aa65a5

Please sign in to comment.