Skip to content

Commit

Permalink
Update dependency ruff to v0.1.6 (#302)
Browse files Browse the repository at this point in the history
[![Mend Renovate logo
banner](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://github.com/astral-sh/ruff),
[changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `==0.1.5` -> `==0.1.6` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.5/0.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.5/0.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.1.6`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#016)

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

##### Preview features

- \[`flake8-boolean-trap`] Extend
`boolean-type-hint-positional-argument` (`FBT001`) to include booleans
in unions
([#&#8203;7501](https://github.com/astral-sh/ruff/pull/7501))
- \[`flake8-pie`] Extend `reimplemented-list-builtin` (`PIE807`) to
`dict` reimplementations
([#&#8203;8608](https://github.com/astral-sh/ruff/pull/8608))
- \[`flake8-pie`] Extend `unnecessary-pass` (`PIE790`) to include
ellipses (`...`)
([#&#8203;8641](https://github.com/astral-sh/ruff/pull/8641))
- \[`flake8-pie`] Implement fix for `unnecessary-spread` (`PIE800`)
([#&#8203;8668](https://github.com/astral-sh/ruff/pull/8668))
- \[`flake8-quotes`] Implement `unnecessary-escaped-quote` (`Q004`)
([#&#8203;8630](https://github.com/astral-sh/ruff/pull/8630))
- \[`pycodestyle`] Implement fix for `multiple-spaces-after-keyword`
(`E271`) and `multiple-spaces-before-keyword` (`E272`)
([#&#8203;8622](https://github.com/astral-sh/ruff/pull/8622))
- \[`pycodestyle`] Implement fix for `multiple-spaces-after-operator`
(`E222`) and `multiple-spaces-before-operator` (`E221`)
([#&#8203;8623](https://github.com/astral-sh/ruff/pull/8623))
- \[`pyflakes`] Extend `is-literal` (`F632`) to include comparisons
against mutable initializers
([#&#8203;8607](https://github.com/astral-sh/ruff/pull/8607))
- \[`pylint`] Implement `redefined-argument-from-local` (`PLR1704`)
([#&#8203;8159](https://github.com/astral-sh/ruff/pull/8159))
- \[`pylint`] Implement fix for `unnecessary-lambda` (`PLW0108`)
([#&#8203;8621](https://github.com/astral-sh/ruff/pull/8621))
- \[`refurb`] Implement `if-expr-min-max` (`FURB136`)
([#&#8203;8664](https://github.com/astral-sh/ruff/pull/8664))
- \[`refurb`] Implement `math-constant` (`FURB152`)
([#&#8203;8727](https://github.com/astral-sh/ruff/pull/8727))

##### Rule changes

- \[`flake8-annotations`] Add autotyping-like return type inference for
annotation rules
([#&#8203;8643](https://github.com/astral-sh/ruff/pull/8643))
- \[`flake8-future-annotations`] Implement fix for
`future-required-type-annotation` (`FA102`)
([#&#8203;8711](https://github.com/astral-sh/ruff/pull/8711))
- \[`flake8-implicit-namespace-package`] Avoid missing namespace
violations in scripts with shebangs
([#&#8203;8710](https://github.com/astral-sh/ruff/pull/8710))
- \[`pydocstyle`] Update `over-indentation` (`D208`) to preserve
indentation offsets when fixing overindented lines
([#&#8203;8699](https://github.com/astral-sh/ruff/pull/8699))
- \[`pyupgrade`] Refine `timeout-error-alias` (`UP041`) to remove false
positives
([#&#8203;8587](https://github.com/astral-sh/ruff/pull/8587))

##### Formatter

- Fix instability in `await` formatting with fluent style
([#&#8203;8676](https://github.com/astral-sh/ruff/pull/8676))
- Compare formatted and unformatted ASTs during formatter tests
([#&#8203;8624](https://github.com/astral-sh/ruff/pull/8624))
- Preserve trailing semicolon for Notebooks
([#&#8203;8590](https://github.com/astral-sh/ruff/pull/8590))

##### CLI

- Improve debug printing for resolving origin of config settings
([#&#8203;8729](https://github.com/astral-sh/ruff/pull/8729))
- Write unchanged, excluded files to stdout when read via stdin
([#&#8203;8596](https://github.com/astral-sh/ruff/pull/8596))

##### Configuration

- \[`isort`] Support disabling sections with `no-sections = true`
([#&#8203;8657](https://github.com/astral-sh/ruff/pull/8657))
- \[`pep8-naming`] Support local and dynamic class- and static-method
decorators
([#&#8203;8592](https://github.com/astral-sh/ruff/pull/8592))
- \[`pydocstyle`] Allow overriding pydocstyle convention rules
([#&#8203;8586](https://github.com/astral-sh/ruff/pull/8586))

##### Bug fixes

- Avoid syntax error via importing `trio.lowlevel`
([#&#8203;8730](https://github.com/astral-sh/ruff/pull/8730))
- Omit unrolled augmented assignments in `PIE794`
([#&#8203;8634](https://github.com/astral-sh/ruff/pull/8634))
- Slice source code instead of generating it for `EM` fixes
([#&#8203;7746](https://github.com/astral-sh/ruff/pull/7746))
- Allow whitespace around colon in slices for
`whitespace-before-punctuation` (`E203`)
([#&#8203;8654](https://github.com/astral-sh/ruff/pull/8654))
- Use function range for `no-self-use`
([#&#8203;8637](https://github.com/astral-sh/ruff/pull/8637))
- F-strings doesn't contain bytes literal for `PLW0129`
([#&#8203;8675](https://github.com/astral-sh/ruff/pull/8675))
- Improve detection of `TYPE_CHECKING` blocks imported from
`typing_extensions` or `_typeshed`
([#&#8203;8429](https://github.com/astral-sh/ruff/pull/8429))
- Treat display as a builtin in IPython
([#&#8203;8707](https://github.com/astral-sh/ruff/pull/8707))
- Avoid `FURB113` autofix if comments are present
([#&#8203;8494](https://github.com/astral-sh/ruff/pull/8494))
- Consider the new f-string tokens for `flake8-commas`
([#&#8203;8582](https://github.com/astral-sh/ruff/pull/8582))
- Remove erroneous bad-dunder-name reference
([#&#8203;8742](https://github.com/astral-sh/ruff/pull/8742))
- Avoid recommending Self usages in metaclasses
([#&#8203;8639](https://github.com/astral-sh/ruff/pull/8639))
- Detect runtime-evaluated base classes defined in the current file
([#&#8203;8572](https://github.com/astral-sh/ruff/pull/8572))
- Avoid inserting trailing commas within f-strings
([#&#8203;8574](https://github.com/astral-sh/ruff/pull/8574))
- Remove incorrect deprecation label for stdout and stderr
([#&#8203;8743](https://github.com/astral-sh/ruff/pull/8743))
- Fix unnecessary parentheses in UP007 fix
([#&#8203;8610](https://github.com/astral-sh/ruff/pull/8610))
- Remove repeated and erroneous scoped settings headers in docs
([#&#8203;8670](https://github.com/astral-sh/ruff/pull/8670))
- Trim trailing empty strings when converting to f-strings
([#&#8203;8712](https://github.com/astral-sh/ruff/pull/8712))
- Fix ordering for `force-sort-within-sections`
([#&#8203;8665](https://github.com/astral-sh/ruff/pull/8665))
- Run unicode prefix rule over tokens
([#&#8203;8709](https://github.com/astral-sh/ruff/pull/8709))
- Update UP032 to unescape curly braces in literal parts of converted
strings ([#&#8203;8697](https://github.com/astral-sh/ruff/pull/8697))
- List all ipython builtins
([#&#8203;8719](https://github.com/astral-sh/ruff/pull/8719))

##### Documentation

- Document conventions in the FAQ
([#&#8203;8638](https://github.com/astral-sh/ruff/pull/8638))
- Redirect from rule codes to rule pages in docs
([#&#8203;8636](https://github.com/astral-sh/ruff/pull/8636))
- Fix permalink to convention setting
([#&#8203;8575](https://github.com/astral-sh/ruff/pull/8575))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 19, 2023
1 parent 555dabd commit bf65de5
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.24.1
types-PyYAML==6.0.12.12
types-requests==2.31.0.10
ruff==0.1.5
ruff==0.1.6

0 comments on commit bf65de5

Please sign in to comment.