Skip to content

Commit

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

---

### Release Notes

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

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

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

##### Rule changes

- Add unsafe fix for `escape-sequence-in-docstring` (`D301`)
([#&#8203;7970](https://togithub.com/astral-sh/ruff/pull/7970))

##### Configuration

- Respect `#(deprecated)` attribute in configuration options
([#&#8203;8035](https://togithub.com/astral-sh/ruff/pull/8035))
- Add `[format|lint].exclude` options
([#&#8203;8000](https://togithub.com/astral-sh/ruff/pull/8000))
- Respect `tab-size` setting in formatter
([#&#8203;8006](https://togithub.com/astral-sh/ruff/pull/8006))
- Add `lint.preview`
([#&#8203;8002](https://togithub.com/astral-sh/ruff/pull/8002))

##### Preview features

- \[`pylint`] Implement `literal-membership` (`PLR6201`)
([#&#8203;7973](https://togithub.com/astral-sh/ruff/pull/7973))
- \[`pylint`] Implement `too-many-boolean-expressions` (`PLR0916`)
([#&#8203;7975](https://togithub.com/astral-sh/ruff/pull/7975))
- \[`pylint`] Implement `misplaced-bare-raise` (`E0704`)
([#&#8203;7961](https://togithub.com/astral-sh/ruff/pull/7961))
- \[`pylint`] Implement `global-at-module-level` (`W0604`)
([#&#8203;8058](https://togithub.com/astral-sh/ruff/pull/8058))
- \[`pylint`] Implement `unspecified-encoding` (`PLW1514`)
([#&#8203;7939](https://togithub.com/astral-sh/ruff/pull/7939))
- Add fix for `triple-single-quotes` (`D300`)
([#&#8203;7967](https://togithub.com/astral-sh/ruff/pull/7967))

##### Formatter

- New code style badge for `ruff format`
([#&#8203;7878](https://togithub.com/astral-sh/ruff/pull/7878))
- Fix comments outside expression parentheses
([#&#8203;7873](https://togithub.com/astral-sh/ruff/pull/7873))
- Add `--target-version` to `ruff format`
([#&#8203;8055](https://togithub.com/astral-sh/ruff/pull/8055))
- Skip over parentheses when detecting `in` keyword
([#&#8203;8054](https://togithub.com/astral-sh/ruff/pull/8054))
- Add `--diff` option to `ruff format`
([#&#8203;7937](https://togithub.com/astral-sh/ruff/pull/7937))
- Insert newline after nested function or class statements
([#&#8203;7946](https://togithub.com/astral-sh/ruff/pull/7946))
- Use `pass` over ellipsis in non-function/class contexts
([#&#8203;8049](https://togithub.com/astral-sh/ruff/pull/8049))

##### Bug fixes

- Lazily evaluate all PEP 695 type alias values
([#&#8203;8033](https://togithub.com/astral-sh/ruff/pull/8033))
- Avoid failed assertion when showing fixes from stdin
([#&#8203;8029](https://togithub.com/astral-sh/ruff/pull/8029))
- Avoid flagging HTTP and HTTPS literals in urllib-open
([#&#8203;8046](https://togithub.com/astral-sh/ruff/pull/8046))
- Avoid flagging `bad-dunder-method-name` for `_`
([#&#8203;8015](https://togithub.com/astral-sh/ruff/pull/8015))
- Remove Python 2-only methods from `URLOpen` audit
([#&#8203;8047](https://togithub.com/astral-sh/ruff/pull/8047))
- Use set bracket replacement for `iteration-over-set` to preserve
whitespace and comments
([#&#8203;8001](https://togithub.com/astral-sh/ruff/pull/8001))

##### Documentation

- Update tutorial to match revised Ruff defaults
([#&#8203;8066](https://togithub.com/astral-sh/ruff/pull/8066))
- Update rule `B005` docs
([#&#8203;8028](https://togithub.com/astral-sh/ruff/pull/8028))
- Update GitHub actions example in docs to use `--output-format`
([#&#8203;8014](https://togithub.com/astral-sh/ruff/pull/8014))
- Document `lint.preview` and `format.preview`
([#&#8203;8032](https://togithub.com/astral-sh/ruff/pull/8032))
- Clarify that new rules should be added to `RuleGroup::Preview`.
([#&#8203;7989](https://togithub.com/astral-sh/ruff/pull/7989))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Oct 22, 2023
1 parent 35afe6e commit a81e0c9
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.0
ruff==0.1.1
types-aiofiles==23.2.0.0
types-PyYAML==6.0.12.12
typing-extensions==4.8.0
Expand Down

0 comments on commit a81e0c9

Please sign in to comment.