Skip to content

Commit

Permalink
Update dependency ruff to v0.1.2 (#285)
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.1`
-> `==0.1.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.1/0.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.1/0.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

This release includes the Beta version of the Ruff formatter — an
extremely fast, Black-compatible Python formatter.
Try it today with `ruff format`! [Check out the blog
post](https://astral.sh/blog/the-ruff-formatter) and [read the
docs](https://docs.astral.sh/ruff/formatter/).

##### Preview features

- \[`pylint`] Implement `non-ascii-module-import` (`C2403`)
([#&#8203;8056](https://togithub.com/astral-sh/ruff/pull/8056))
- \[`pylint`] implement `non-ascii-name` (`C2401`)
([#&#8203;8038](https://togithub.com/astral-sh/ruff/pull/8038))
- \[`pylint`] Implement unnecessary-lambda (W0108)
([#&#8203;7953](https://togithub.com/astral-sh/ruff/pull/7953))
- \[`refurb`] Implement `read-whole-file` (`FURB101`)
([#&#8203;7682](https://togithub.com/astral-sh/ruff/pull/7682))
- Add fix for `E223`, `E224`, and `E242`
([#&#8203;8143](https://togithub.com/astral-sh/ruff/pull/8143))
- Add fix for `E225`, `E226`, `E227`, and `E228`
([#&#8203;8136](https://togithub.com/astral-sh/ruff/pull/8136))
- Add fix for `E252`
([#&#8203;8142](https://togithub.com/astral-sh/ruff/pull/8142))
- Add fix for `E261`
([#&#8203;8114](https://togithub.com/astral-sh/ruff/pull/8114))
- Add fix for `E273` and `E274`
([#&#8203;8144](https://togithub.com/astral-sh/ruff/pull/8144))
- Add fix for `E275`
([#&#8203;8133](https://togithub.com/astral-sh/ruff/pull/8133))
- Update `SIM401` to catch ternary operations
([#&#8203;7415](https://togithub.com/astral-sh/ruff/pull/7415))
- Update `E721` to allow `is` and `is` not for direct type comparisons
([#&#8203;7905](https://togithub.com/astral-sh/ruff/pull/7905))

##### Rule changes

- Add `backports.strenum` to `deprecated-imports`
([#&#8203;8113](https://togithub.com/astral-sh/ruff/pull/8113))
- Update `SIM112` to ignore `https_proxy`, `http_proxy`, and `no_proxy`
([#&#8203;8140](https://togithub.com/astral-sh/ruff/pull/8140))
- Update fix for `literal-membership` (`PLR6201`) to be unsafe
([#&#8203;8097](https://togithub.com/astral-sh/ruff/pull/8097))
- Update fix for `mutable-argument-defaults` (`B006`) to be unsafe
([#&#8203;8108](https://togithub.com/astral-sh/ruff/pull/8108))

##### Formatter

- Change `line-ending` default to `auto`
([#&#8203;8057](https://togithub.com/astral-sh/ruff/pull/8057))
- Respect parenthesized generators in `has_own_parentheses`
([#&#8203;8100](https://togithub.com/astral-sh/ruff/pull/8100))
- Add caching to formatter
([#&#8203;8089](https://togithub.com/astral-sh/ruff/pull/8089))
- Remove `--line-length` option from `format` command
([#&#8203;8131](https://togithub.com/astral-sh/ruff/pull/8131))
- Add formatter to `line-length` documentation
([#&#8203;8150](https://togithub.com/astral-sh/ruff/pull/8150))
- Warn about incompatible formatter options
([#&#8203;8088](https://togithub.com/astral-sh/ruff/pull/8088))
- Fix range of unparenthesized tuple subject in match statement
([#&#8203;8101](https://togithub.com/astral-sh/ruff/pull/8101))
- Remove experimental formatter warning
([#&#8203;8148](https://togithub.com/astral-sh/ruff/pull/8148))
- Don't move type param opening parenthesis comment
([#&#8203;8163](https://togithub.com/astral-sh/ruff/pull/8163))
- Update versions in format benchmark script
([#&#8203;8110](https://togithub.com/astral-sh/ruff/pull/8110))
- Avoid loading files for cached format results
([#&#8203;8134](https://togithub.com/astral-sh/ruff/pull/8134))

##### CLI

- Show the `ruff format` command in help menus
([#&#8203;8167](https://togithub.com/astral-sh/ruff/pull/8167))
- Add `ruff version` command with long version display
([#&#8203;8034](https://togithub.com/astral-sh/ruff/pull/8034))

##### Configuration

- New `pycodestyle.max-line-length` option
([#&#8203;8039](https://togithub.com/astral-sh/ruff/pull/8039))

##### Bug fixes

- Detect `sys.version_info` slices in `outdated-version-block`
([#&#8203;8112](https://togithub.com/astral-sh/ruff/pull/8112))
- Avoid if-else simplification for `TYPE_CHECKING` blocks
([#&#8203;8072](https://togithub.com/astral-sh/ruff/pull/8072))
- Avoid false-positive print separator diagnostic with starred argument
([#&#8203;8079](https://togithub.com/astral-sh/ruff/pull/8079))

##### Documentation

- Fix message for `too-many-arguments` lint
([#&#8203;8092](https://togithub.com/astral-sh/ruff/pull/8092))
- Fix `extend-unsafe-fixes` and `extend-safe-fixes` example
([#&#8203;8139](https://togithub.com/astral-sh/ruff/pull/8139))
- Add links to `flake8-import-conventions` options
([#&#8203;8115](https://togithub.com/astral-sh/ruff/pull/8115))
- Rework the documentation to incorporate the Ruff formatter
([#&#8203;7732](https://togithub.com/astral-sh/ruff/pull/7732))
- Fix `Options` JSON schema description
([#&#8203;8081](https://togithub.com/astral-sh/ruff/pull/8081))
- Fix typo (`pytext` -> `pytest`)
([#&#8203;8117](https://togithub.com/astral-sh/ruff/pull/8117))
- Improve `magic-value-comparison` example in docs
([#&#8203;8111](https://togithub.com/astral-sh/ruff/pull/8111))

</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/pyrainbird).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Oct 26, 2023
1 parent b390595 commit 512d45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ requests-mock==1.11.0
responses==0.23.3
types-PyYAML==6.0.12.12
types-requests==2.31.0.10
ruff==0.1.1
ruff==0.1.2

0 comments on commit 512d45d

Please sign in to comment.