Skip to content

Commit

Permalink
Update dependency ruff to v0.1.5 (#378)
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/blob/main/CHANGELOG.md))
| `==0.1.4` -> `==0.1.5` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.4/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.4/0.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Preview features

- \[`flake8-bandit`] Implement `mako-templates` (`S702`)
([#&#8203;8533](https://togithub.com/astral-sh/ruff/pull/8533))
- \[`flake8-trio`] Implement `TRIO105`
([#&#8203;8490](https://togithub.com/astral-sh/ruff/pull/8490))
- \[`flake8-trio`] Implement `TRIO109`
([#&#8203;8534](https://togithub.com/astral-sh/ruff/pull/8534))
- \[`flake8-trio`] Implement `TRIO110`
([#&#8203;8537](https://togithub.com/astral-sh/ruff/pull/8537))
- \[`flake8-trio`] Implement `TRIO115`
([#&#8203;8486](https://togithub.com/astral-sh/ruff/pull/8486))
- \[`refurb`] Implement `type-none-comparison` (`FURB169`)
([#&#8203;8487](https://togithub.com/astral-sh/ruff/pull/8487))
- Flag all comparisons against builtin types in `E721`
([#&#8203;8491](https://togithub.com/astral-sh/ruff/pull/8491))
- Make `SIM118` fix as safe when the expression is a known dictionary
([#&#8203;8525](https://togithub.com/astral-sh/ruff/pull/8525))

##### Formatter

- Fix multiline lambda expression statement formatting
([#&#8203;8466](https://togithub.com/astral-sh/ruff/pull/8466))

##### CLI

- Add hidden `--extension` to override inference of source type from
file extension
([#&#8203;8373](https://togithub.com/astral-sh/ruff/pull/8373))

##### Configuration

- Account for selector specificity when merging `extend_unsafe_fixes`
and `override extend_safe_fixes`
([#&#8203;8444](https://togithub.com/astral-sh/ruff/pull/8444))
- Add support for disabling cache with `RUFF_NO_CACHE` environment
variable ([#&#8203;8538](https://togithub.com/astral-sh/ruff/pull/8538))

##### Bug fixes

- \[`E721`] Flag comparisons to `memoryview`
([#&#8203;8485](https://togithub.com/astral-sh/ruff/pull/8485))
- Allow collapsed-ellipsis bodies in other statements
([#&#8203;8499](https://togithub.com/astral-sh/ruff/pull/8499))
- Avoid `D301` autofix for `u` prefixed strings
([#&#8203;8495](https://togithub.com/astral-sh/ruff/pull/8495))
- Only flag `flake8-trio` rules when `trio` import is present
([#&#8203;8550](https://togithub.com/astral-sh/ruff/pull/8550))
- Reject more syntactically invalid Python programs
([#&#8203;8524](https://togithub.com/astral-sh/ruff/pull/8524))
- Avoid raising `TRIO115` violations for `trio.sleep(...)` calls with
non-number values
([#&#8203;8532](https://togithub.com/astral-sh/ruff/pull/8532))
- Fix `F841` false negative on assignment to multiple variables
([#&#8203;8489](https://togithub.com/astral-sh/ruff/pull/8489))

##### Documentation

- Fix link to isort `known-first-party`
([#&#8203;8562](https://togithub.com/astral-sh/ruff/pull/8562))
- Add notes on fix safety to a few rules
([#&#8203;8500](https://togithub.com/astral-sh/ruff/pull/8500))
- Add missing toml config tabs
([#&#8203;8512](https://togithub.com/astral-sh/ruff/pull/8512))
- Add instructions for configuration of Emacs
([#&#8203;8488](https://togithub.com/astral-sh/ruff/pull/8488))
- Improve detail link contrast in dark mode
([#&#8203;8548](https://togithub.com/astral-sh/ruff/pull/8548))
- Fix typo in example
([#&#8203;8506](https://togithub.com/astral-sh/ruff/pull/8506))
- Added tabs for configuration files in the documentation
([#&#8203;8480](https://togithub.com/astral-sh/ruff/pull/8480))
- Recommend `project.requires-python` over `target-version`
([#&#8203;8513](https://togithub.com/astral-sh/ruff/pull/8513))
- Add singleton escape hatch to `B008` documentation
([#&#8203;8501](https://togithub.com/astral-sh/ruff/pull/8501))
- Fix tab configuration docs
([#&#8203;8502](https://togithub.com/astral-sh/ruff/pull/8502))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 10, 2023
1 parent 77588c0 commit 485f5ae
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.4
ruff==0.1.5
types-aiofiles==23.2.0.0
types-PyYAML==6.0.12.12
typing-extensions==4.8.0
Expand Down

0 comments on commit 485f5ae

Please sign in to comment.