Skip to content

Commit

Permalink
Update dependency ruff to v0.1.3 (#371)
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://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/releases)) | `==0.1.2`
-> `==0.1.3` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.2/0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.2/0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

This release includes a variety of improvements to the Ruff formatter,
removing several known and
unintentional deviations from Black.

##### Formatter

- Avoid space around pow for `None`, `True` and `False`
([#&#8203;8189](https://togithub.com/astral-sh/ruff/pull/8189))
- Avoid sorting all paths in the format command
([#&#8203;8181](https://togithub.com/astral-sh/ruff/pull/8181))
- Insert necessary blank line between class and leading comments
([#&#8203;8224](https://togithub.com/astral-sh/ruff/pull/8224))
- Avoid introducing new parentheses in annotated assignments
([#&#8203;8233](https://togithub.com/astral-sh/ruff/pull/8233))
- Refine the warnings about incompatible linter options
([#&#8203;8196](https://togithub.com/astral-sh/ruff/pull/8196))
- Add test and basic implementation for formatter preview mode
([#&#8203;8044](https://togithub.com/astral-sh/ruff/pull/8044))
- Refine warning about incompatible `isort` settings
([#&#8203;8192](https://togithub.com/astral-sh/ruff/pull/8192))
- Only omit optional parentheses for starting or ending with parentheses
([#&#8203;8238](https://togithub.com/astral-sh/ruff/pull/8238))
- Use source type to determine parser mode for formatting
([#&#8203;8205](https://togithub.com/astral-sh/ruff/pull/8205))
- Don't warn about magic trailing comma when `isort.force-single-line`
is true ([#&#8203;8244](https://togithub.com/astral-sh/ruff/pull/8244))
- Use `SourceKind::diff` for formatter
([#&#8203;8240](https://togithub.com/astral-sh/ruff/pull/8240))
- Fix `fmt:off` with trailing child comment
([#&#8203;8234](https://togithub.com/astral-sh/ruff/pull/8234))
- Formatter parentheses support for `IpyEscapeCommand`
([#&#8203;8207](https://togithub.com/astral-sh/ruff/pull/8207))

##### Linter

- \[`pylint`] Add buffer methods to `bad-dunder-method-name` (`PLW3201`)
exclusions
([#&#8203;8190](https://togithub.com/astral-sh/ruff/pull/8190))
- Match rule prefixes from `external` codes setting in `unused-noqa`
([#&#8203;8177](https://togithub.com/astral-sh/ruff/pull/8177))
- Use `line-length` setting for isort in lieu of
`pycodestyle.max-line-length`
([#&#8203;8235](https://togithub.com/astral-sh/ruff/pull/8235))
- Update fix for `unnecessary-paren-on-raise-exception` to unsafe for
unknown types
([#&#8203;8231](https://togithub.com/astral-sh/ruff/pull/8231))
- Correct quick fix message for `W605`
([#&#8203;8255](https://togithub.com/astral-sh/ruff/pull/8255))

##### Documentation

- Fix typo in max-doc-length documentation
([#&#8203;8201](https://togithub.com/astral-sh/ruff/pull/8201))
- Improve documentation around linter-formatter conflicts
([#&#8203;8257](https://togithub.com/astral-sh/ruff/pull/8257))
- Fix link to error suppression documentation in `unused-noqa`
([#&#8203;8172](https://togithub.com/astral-sh/ruff/pull/8172))
- Add `external` option to `unused-noqa` documentation
([#&#8203;8171](https://togithub.com/astral-sh/ruff/pull/8171))
- Add title attribute to icons
([#&#8203;8060](https://togithub.com/astral-sh/ruff/pull/8060))
- Clarify unsafe case in RSE102
([#&#8203;8256](https://togithub.com/astral-sh/ruff/pull/8256))
- Fix skipping formatting examples
([#&#8203;8210](https://togithub.com/astral-sh/ruff/pull/8210))
- docs: fix name of `magic-trailing-comma` option in README
([#&#8203;8200](https://togithub.com/astral-sh/ruff/pull/8200))
- Add note about scope of rule changing in versioning policy
([#&#8203;8169](https://togithub.com/astral-sh/ruff/pull/8169))
- Document: Fix default lint rules
([#&#8203;8218](https://togithub.com/astral-sh/ruff/pull/8218))
- Fix a wrong setting in configuration.md
([#&#8203;8186](https://togithub.com/astral-sh/ruff/pull/8186))
- Fix misspelled TOML headers in the tutorial
([#&#8203;8209](https://togithub.com/astral-sh/ruff/pull/8209))

</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/allenporter/flux-local).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 28, 2023
1 parent 3d871b4 commit db4437b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pytest-cov==4.1.0
pytest-golden==0.2.2
python-slugify==8.0.1
PyYAML==6.0.1
ruff==0.1.2
ruff==0.1.3
types-aiofiles==23.2.0.0
types-PyYAML==6.0.12.12
typing-extensions==4.8.0
Expand Down

0 comments on commit db4437b

Please sign in to comment.