Skip to content

Commit

Permalink
chore(deps): update dependency ruff to v0.1.9 (#474)
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.8` -> `==0.1.9` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.8/0.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.8/0.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Breaking changes

- Add site-packages to default exclusions
([#&#8203;9188](https://togithub.com/astral-sh/ruff/pull/9188))

##### Preview features

- Fix: Avoid parenthesizing subscript targets and values
([#&#8203;9209](https://togithub.com/astral-sh/ruff/pull/9209))
- \[`pylint`] Implement `too-many-locals` (`PLR0914`)
([#&#8203;9163](https://togithub.com/astral-sh/ruff/pull/9163))
- Implement `reimplemented_operator` (FURB118)
([#&#8203;9171](https://togithub.com/astral-sh/ruff/pull/9171))
- Add a rule to detect string members in runtime-evaluated unions
([#&#8203;9143](https://togithub.com/astral-sh/ruff/pull/9143))
- Implement `no_blank_line_before_class_docstring` preview style
([#&#8203;9154](https://togithub.com/astral-sh/ruff/pull/9154))

##### Rule changes

- `CONSTANT_CASE` variables are improperly flagged for yoda violation
(`SIM300`)
([#&#8203;9164](https://togithub.com/astral-sh/ruff/pull/9164))
- \[`flake8-pyi`] Cover ParamSpecs and TypeVarTuples (`PYI018`)
([#&#8203;9198](https://togithub.com/astral-sh/ruff/pull/9198))
- \[`flake8-bugbear`] Add fix for `zip-without-explicit-strict` (`B905`)
([#&#8203;9176](https://togithub.com/astral-sh/ruff/pull/9176))
- Add fix to automatically remove `print` and `pprint` statements
(`T201`, `T203`)
([#&#8203;9208](https://togithub.com/astral-sh/ruff/pull/9208))
- Prefer `Never` to `NoReturn` in auto-typing in Python >= 3.11
(`ANN201`)
([#&#8203;9213](https://togithub.com/astral-sh/ruff/pull/9213))

##### Formatter

- `can_omit_optional_parentheses`: Exit early for unparenthesized
expressions
([#&#8203;9125](https://togithub.com/astral-sh/ruff/pull/9125))
- Fix `dynamic` mode with doctests so that it doesn't exceed configured
line width
([#&#8203;9129](https://togithub.com/astral-sh/ruff/pull/9129))
- Fix `can_omit_optional_parentheses` for expressions with a right most
fstring ([#&#8203;9124](https://togithub.com/astral-sh/ruff/pull/9124))
- Add `target_version` to formatter options
([#&#8203;9220](https://togithub.com/astral-sh/ruff/pull/9220))

##### CLI

- Update `ruff format --check` to display message for already formatted
files ([#&#8203;9153](https://togithub.com/astral-sh/ruff/pull/9153))

##### Bug fixes

- Reverse order of arguments for `operator.contains`
([#&#8203;9192](https://togithub.com/astral-sh/ruff/pull/9192))
- Iterate over lambdas in deferred type annotations
([#&#8203;9175](https://togithub.com/astral-sh/ruff/pull/9175))
- Fix panic in `D208` with multibyte indent
([#&#8203;9147](https://togithub.com/astral-sh/ruff/pull/9147))
- Add support for `NoReturn` in auto-return-typing
([#&#8203;9206](https://togithub.com/astral-sh/ruff/pull/9206))
- Allow removal of `typing` from `exempt-modules`
([#&#8203;9214](https://togithub.com/astral-sh/ruff/pull/9214))
- Avoid `mutable-class-default` violations for Pydantic subclasses
([#&#8203;9187](https://togithub.com/astral-sh/ruff/pull/9187))
- Fix dropped union expressions for piped non-types in `PYI055` autofix
([#&#8203;9161](https://togithub.com/astral-sh/ruff/pull/9161))
- Enable annotation quoting for multi-line expressions
([#&#8203;9142](https://togithub.com/astral-sh/ruff/pull/9142))
- Deduplicate edits when quoting annotations
([#&#8203;9140](https://togithub.com/astral-sh/ruff/pull/9140))
- Prevent invalid utf8 indexing in cell magic detection
([#&#8203;9146](https://togithub.com/astral-sh/ruff/pull/9146))
- Avoid nested quotations in auto-quoting fix
([#&#8203;9168](https://togithub.com/astral-sh/ruff/pull/9168))
- Add base-class inheritance detection to flake8-django rules
([#&#8203;9151](https://togithub.com/astral-sh/ruff/pull/9151))
- Avoid `asyncio-dangling-task` violations on shadowed bindings
([#&#8203;9215](https://togithub.com/astral-sh/ruff/pull/9215))

##### Documentation

- Fix blog post URL in changelog
([#&#8203;9119](https://togithub.com/astral-sh/ruff/pull/9119))
- Add error suppression hint for multi-line strings
([#&#8203;9205](https://togithub.com/astral-sh/ruff/pull/9205))
- Fix typo in SemanticModel.parent_expression docstring
([#&#8203;9167](https://togithub.com/astral-sh/ruff/pull/9167))
- Document link between import sorting and formatter
([#&#8203;9117](https://togithub.com/astral-sh/ruff/pull/9117))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 25, 2023
1 parent 879a727 commit a4dedef
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 @@ -13,7 +13,7 @@ pytest-asyncio==0.23.2
pytest-cov==4.1.0
python-slugify==8.0.1
PyYAML==6.0.1
ruff==0.1.8
ruff==0.1.9
types-aiofiles==23.2.0.0
types-PyYAML==6.0.12.12
typing-extensions==4.9.0
Expand Down

0 comments on commit a4dedef

Please sign in to comment.