Skip to content

Commit

Permalink
chore(deps): update group:ruff to v0.8.6 (patch) (#631)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change | Age | Adoption | Passing |
Confidence |
|---|---|---|---|---|---|---|---|
|
[charliermarsh/ruff-pre-commit](https://redirect.github.com/charliermarsh/ruff-pre-commit)
| repository | patch | `v0.8.4` -> `v0.8.6` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/charliermarsh%2fruff-pre-commit/v0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/charliermarsh%2fruff-pre-commit/v0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/charliermarsh%2fruff-pre-commit/v0.8.4/v0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/charliermarsh%2fruff-pre-commit/v0.8.4/v0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [ruff](https://docs.astral.sh/ruff)
([source](https://redirect.github.com/astral-sh/ruff),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| linting | patch | `0.8.4` -> `0.8.6` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.8.4/0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.8.4/0.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>charliermarsh/ruff-pre-commit
(charliermarsh/ruff-pre-commit)</summary>

###
[`v0.8.6`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.8.6)

[Compare
Source](https://redirect.github.com/charliermarsh/ruff-pre-commit/compare/v0.8.5...v0.8.6)

See: https://github.com/astral-sh/ruff/releases/tag/0.8.6

###
[`v0.8.5`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.8.5)

[Compare
Source](https://redirect.github.com/charliermarsh/ruff-pre-commit/compare/v0.8.4...v0.8.5)

See: https://github.com/astral-sh/ruff/releases/tag/0.8.5

</details>

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

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

[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.8.5...0.8.6)

##### Preview features

- \[`format`]: Preserve multiline implicit concatenated strings in
docstring positions
([#&#8203;15126](https://redirect.github.com/astral-sh/ruff/pull/15126))
- \[`ruff`] Add rule to detect empty literal in deque call (`RUF025`)
([#&#8203;15104](https://redirect.github.com/astral-sh/ruff/pull/15104))
- \[`ruff`] Avoid reporting when `ndigits` is possibly negative
(`RUF057`)
([#&#8203;15234](https://redirect.github.com/astral-sh/ruff/pull/15234))

##### Rule changes

- \[`flake8-todos`] remove issue code length restriction (`TD003`)
([#&#8203;15175](https://redirect.github.com/astral-sh/ruff/pull/15175))
- \[`pyflakes`] Ignore errors in `@no_type_check` string annotations
(`F722`, `F821`)
([#&#8203;15215](https://redirect.github.com/astral-sh/ruff/pull/15215))

##### CLI

- Show errors for attempted fixes only when passed `--verbose`
([#&#8203;15237](https://redirect.github.com/astral-sh/ruff/pull/15237))

##### Bug fixes

- \[`ruff`] Avoid syntax error when removing int over multiple lines
(`RUF046`)
([#&#8203;15230](https://redirect.github.com/astral-sh/ruff/pull/15230))
- \[`pyupgrade`] Revert "Add all PEP-585 names to `UP006` rule"
([#&#8203;15250](https://redirect.github.com/astral-sh/ruff/pull/15250))

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

[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.8.4...0.8.5)

##### Preview features

- \[`airflow`] Extend names moved from core to provider (`AIR303`)
([#&#8203;15145](https://redirect.github.com/astral-sh/ruff/pull/15145),
[#&#8203;15159](https://redirect.github.com/astral-sh/ruff/pull/15159),
[#&#8203;15196](https://redirect.github.com/astral-sh/ruff/pull/15196),
[#&#8203;15216](https://redirect.github.com/astral-sh/ruff/pull/15216))
- \[`airflow`] Extend rule to check class attributes, methods, arguments
(`AIR302`)
([#&#8203;15054](https://redirect.github.com/astral-sh/ruff/pull/15054),
[#&#8203;15083](https://redirect.github.com/astral-sh/ruff/pull/15083))
- \[`fastapi`] Update `FAST002` to check keyword-only arguments
([#&#8203;15119](https://redirect.github.com/astral-sh/ruff/pull/15119))
- \[`flake8-type-checking`] Disable `TC006` and `TC007` in stub files
([#&#8203;15179](https://redirect.github.com/astral-sh/ruff/pull/15179))
- \[`pylint`] Detect nested methods correctly (`PLW1641`)
([#&#8203;15032](https://redirect.github.com/astral-sh/ruff/pull/15032))
- \[`ruff`] Detect more strict-integer expressions (`RUF046`)
([#&#8203;14833](https://redirect.github.com/astral-sh/ruff/pull/14833))
- \[`ruff`] Implement `falsy-dict-get-fallback` (`RUF056`)
([#&#8203;15160](https://redirect.github.com/astral-sh/ruff/pull/15160))
- \[`ruff`] Implement `unnecessary-round` (`RUF057`)
([#&#8203;14828](https://redirect.github.com/astral-sh/ruff/pull/14828))

##### Rule changes

- Visit PEP 764 inline `TypedDict` keys as non-type-expressions
([#&#8203;15073](https://redirect.github.com/astral-sh/ruff/pull/15073))
- \[`flake8-comprehensions`] Skip `C416` if comprehension contains
unpacking
([#&#8203;14909](https://redirect.github.com/astral-sh/ruff/pull/14909))
- \[`flake8-pie`] Allow `cast(SomeType, ...)` (`PIE796`)
([#&#8203;15141](https://redirect.github.com/astral-sh/ruff/pull/15141))
- \[`flake8-simplify`] More precise inference for dictionaries
(`SIM300`)
([#&#8203;15164](https://redirect.github.com/astral-sh/ruff/pull/15164))
- \[`flake8-use-pathlib`] Catch redundant joins in `PTH201` and avoid
syntax errors
([#&#8203;15177](https://redirect.github.com/astral-sh/ruff/pull/15177))
- \[`pycodestyle`] Preserve original value format (`E731`)
([#&#8203;15097](https://redirect.github.com/astral-sh/ruff/pull/15097))
- \[`pydocstyle`] Split on first whitespace character (`D403`)
([#&#8203;15082](https://redirect.github.com/astral-sh/ruff/pull/15082))
- \[`pyupgrade`] Add all PEP-585 names to `UP006` rule
([#&#8203;5454](https://redirect.github.com/astral-sh/ruff/pull/5454))

##### Configuration

- \[`flake8-type-checking`] Improve flexibility of
`runtime-evaluated-decorators`
([#&#8203;15204](https://redirect.github.com/astral-sh/ruff/pull/15204))
- \[`pydocstyle`] Add setting to ignore missing documentation for
`*args` and `**kwargs` parameters (`D417`)
([#&#8203;15210](https://redirect.github.com/astral-sh/ruff/pull/15210))
- \[`ruff`] Add an allowlist for `unsafe-markup-use` (`RUF035`)
([#&#8203;15076](https://redirect.github.com/astral-sh/ruff/pull/15076))

##### Bug fixes

- Fix type subscript on older python versions
([#&#8203;15090](https://redirect.github.com/astral-sh/ruff/pull/15090))
- Use `TypeChecker` for detecting `fastapi` routes
([#&#8203;15093](https://redirect.github.com/astral-sh/ruff/pull/15093))
- \[`pycodestyle`] Avoid false positives and negatives related to type
parameter default syntax (`E225`, `E251`)
([#&#8203;15214](https://redirect.github.com/astral-sh/ruff/pull/15214))

##### Documentation

- Fix incorrect doc in `shebang-not-executable` (`EXE001`) and add
git+windows solution to executable bit
([#&#8203;15208](https://redirect.github.com/astral-sh/ruff/pull/15208))
- Rename rules currently not conforming to naming convention
([#&#8203;15102](https://redirect.github.com/astral-sh/ruff/pull/15102))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/naa0yama/PythonBoilerplate).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 8, 2025
1 parent 0035943 commit 40bd9da
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repos:
minimum_pre_commit_version: "2.9.2"

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.8.4
rev: v0.8.6
hooks:
- id: ruff
args: [--fix]
Expand Down
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 40bd9da

Please sign in to comment.