From 40bd9daaa971a8eac8a84a7d045726394ad95a1f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 8 Jan 2025 02:08:32 +0000
Subject: [PATCH] chore(deps): update group:ruff to v0.8.6 (patch) (#631)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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
charliermarsh/ruff-pre-commit
(charliermarsh/ruff-pre-commit)
###
[`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
astral-sh/ruff (ruff)
###
[`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
([#15126](https://redirect.github.com/astral-sh/ruff/pull/15126))
- \[`ruff`] Add rule to detect empty literal in deque call (`RUF025`)
([#15104](https://redirect.github.com/astral-sh/ruff/pull/15104))
- \[`ruff`] Avoid reporting when `ndigits` is possibly negative
(`RUF057`)
([#15234](https://redirect.github.com/astral-sh/ruff/pull/15234))
##### Rule changes
- \[`flake8-todos`] remove issue code length restriction (`TD003`)
([#15175](https://redirect.github.com/astral-sh/ruff/pull/15175))
- \[`pyflakes`] Ignore errors in `@no_type_check` string annotations
(`F722`, `F821`)
([#15215](https://redirect.github.com/astral-sh/ruff/pull/15215))
##### CLI
- Show errors for attempted fixes only when passed `--verbose`
([#15237](https://redirect.github.com/astral-sh/ruff/pull/15237))
##### Bug fixes
- \[`ruff`] Avoid syntax error when removing int over multiple lines
(`RUF046`)
([#15230](https://redirect.github.com/astral-sh/ruff/pull/15230))
- \[`pyupgrade`] Revert "Add all PEP-585 names to `UP006` rule"
([#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`)
([#15145](https://redirect.github.com/astral-sh/ruff/pull/15145),
[#15159](https://redirect.github.com/astral-sh/ruff/pull/15159),
[#15196](https://redirect.github.com/astral-sh/ruff/pull/15196),
[#15216](https://redirect.github.com/astral-sh/ruff/pull/15216))
- \[`airflow`] Extend rule to check class attributes, methods, arguments
(`AIR302`)
([#15054](https://redirect.github.com/astral-sh/ruff/pull/15054),
[#15083](https://redirect.github.com/astral-sh/ruff/pull/15083))
- \[`fastapi`] Update `FAST002` to check keyword-only arguments
([#15119](https://redirect.github.com/astral-sh/ruff/pull/15119))
- \[`flake8-type-checking`] Disable `TC006` and `TC007` in stub files
([#15179](https://redirect.github.com/astral-sh/ruff/pull/15179))
- \[`pylint`] Detect nested methods correctly (`PLW1641`)
([#15032](https://redirect.github.com/astral-sh/ruff/pull/15032))
- \[`ruff`] Detect more strict-integer expressions (`RUF046`)
([#14833](https://redirect.github.com/astral-sh/ruff/pull/14833))
- \[`ruff`] Implement `falsy-dict-get-fallback` (`RUF056`)
([#15160](https://redirect.github.com/astral-sh/ruff/pull/15160))
- \[`ruff`] Implement `unnecessary-round` (`RUF057`)
([#14828](https://redirect.github.com/astral-sh/ruff/pull/14828))
##### Rule changes
- Visit PEP 764 inline `TypedDict` keys as non-type-expressions
([#15073](https://redirect.github.com/astral-sh/ruff/pull/15073))
- \[`flake8-comprehensions`] Skip `C416` if comprehension contains
unpacking
([#14909](https://redirect.github.com/astral-sh/ruff/pull/14909))
- \[`flake8-pie`] Allow `cast(SomeType, ...)` (`PIE796`)
([#15141](https://redirect.github.com/astral-sh/ruff/pull/15141))
- \[`flake8-simplify`] More precise inference for dictionaries
(`SIM300`)
([#15164](https://redirect.github.com/astral-sh/ruff/pull/15164))
- \[`flake8-use-pathlib`] Catch redundant joins in `PTH201` and avoid
syntax errors
([#15177](https://redirect.github.com/astral-sh/ruff/pull/15177))
- \[`pycodestyle`] Preserve original value format (`E731`)
([#15097](https://redirect.github.com/astral-sh/ruff/pull/15097))
- \[`pydocstyle`] Split on first whitespace character (`D403`)
([#15082](https://redirect.github.com/astral-sh/ruff/pull/15082))
- \[`pyupgrade`] Add all PEP-585 names to `UP006` rule
([#5454](https://redirect.github.com/astral-sh/ruff/pull/5454))
##### Configuration
- \[`flake8-type-checking`] Improve flexibility of
`runtime-evaluated-decorators`
([#15204](https://redirect.github.com/astral-sh/ruff/pull/15204))
- \[`pydocstyle`] Add setting to ignore missing documentation for
`*args` and `**kwargs` parameters (`D417`)
([#15210](https://redirect.github.com/astral-sh/ruff/pull/15210))
- \[`ruff`] Add an allowlist for `unsafe-markup-use` (`RUF035`)
([#15076](https://redirect.github.com/astral-sh/ruff/pull/15076))
##### Bug fixes
- Fix type subscript on older python versions
([#15090](https://redirect.github.com/astral-sh/ruff/pull/15090))
- Use `TypeChecker` for detecting `fastapi` routes
([#15093](https://redirect.github.com/astral-sh/ruff/pull/15093))
- \[`pycodestyle`] Avoid false positives and negatives related to type
parameter default syntax (`E225`, `E251`)
([#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
([#15208](https://redirect.github.com/astral-sh/ruff/pull/15208))
- Rename rules currently not conforming to naming convention
([#15102](https://redirect.github.com/astral-sh/ruff/pull/15102))
---
### 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.
---
- [ ] 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.pre-commit-config.yaml | 2 +-
poetry.lock | 38 +++++++++++++++++++-------------------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 384c5044..e99965c4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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]
diff --git a/poetry.lock b/poetry.lock
index bb73e3b9..c5c41473 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1014,29 +1014,29 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
[[package]]
name = "ruff"
-version = "0.8.4"
+version = "0.8.6"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.8.4-py3-none-linux_armv6l.whl", hash = "sha256:58072f0c06080276804c6a4e21a9045a706584a958e644353603d36ca1eb8a60"},
- {file = "ruff-0.8.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ffb60904651c00a1e0b8df594591770018a0f04587f7deeb3838344fe3adabac"},
- {file = "ruff-0.8.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6ddf5d654ac0d44389f6bf05cee4caeefc3132a64b58ea46738111d687352296"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e248b1f0fa2749edd3350a2a342b67b43a2627434c059a063418e3d375cfe643"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bf197b98ed86e417412ee3b6c893f44c8864f816451441483253d5ff22c0e81e"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c41319b85faa3aadd4d30cb1cffdd9ac6b89704ff79f7664b853785b48eccdf3"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:9f8402b7c4f96463f135e936d9ab77b65711fcd5d72e5d67597b543bbb43cf3f"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e4e56b3baa9c23d324ead112a4fdf20db9a3f8f29eeabff1355114dd96014604"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:736272574e97157f7edbbb43b1d046125fce9e7d8d583d5d65d0c9bf2c15addf"},
- {file = "ruff-0.8.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e5fe710ab6061592521f902fca7ebcb9fabd27bc7c57c764298b1c1f15fff720"},
- {file = "ruff-0.8.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:13e9ec6d6b55f6da412d59953d65d66e760d583dd3c1c72bf1f26435b5bfdbae"},
- {file = "ruff-0.8.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:97d9aefef725348ad77d6db98b726cfdb075a40b936c7984088804dfd38268a7"},
- {file = "ruff-0.8.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:ab78e33325a6f5374e04c2ab924a3367d69a0da36f8c9cb6b894a62017506111"},
- {file = "ruff-0.8.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:8ef06f66f4a05c3ddbc9121a8b0cecccd92c5bf3dd43b5472ffe40b8ca10f0f8"},
- {file = "ruff-0.8.4-py3-none-win32.whl", hash = "sha256:552fb6d861320958ca5e15f28b20a3d071aa83b93caee33a87b471f99a6c0835"},
- {file = "ruff-0.8.4-py3-none-win_amd64.whl", hash = "sha256:f21a1143776f8656d7f364bd264a9d60f01b7f52243fbe90e7670c0dfe0cf65d"},
- {file = "ruff-0.8.4-py3-none-win_arm64.whl", hash = "sha256:9183dd615d8df50defa8b1d9a074053891ba39025cf5ae88e8bcb52edcc4bf08"},
- {file = "ruff-0.8.4.tar.gz", hash = "sha256:0d5f89f254836799af1615798caa5f80b7f935d7a670fad66c5007928e57ace8"},
+ {file = "ruff-0.8.6-py3-none-linux_armv6l.whl", hash = "sha256:defed167955d42c68b407e8f2e6f56ba52520e790aba4ca707a9c88619e580e3"},
+ {file = "ruff-0.8.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:54799ca3d67ae5e0b7a7ac234baa657a9c1784b48ec954a094da7c206e0365b1"},
+ {file = "ruff-0.8.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e88b8f6d901477c41559ba540beeb5a671e14cd29ebd5683903572f4b40a9807"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0509e8da430228236a18a677fcdb0c1f102dd26d5520f71f79b094963322ed25"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:91a7ddb221779871cf226100e677b5ea38c2d54e9e2c8ed847450ebbdf99b32d"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:248b1fb3f739d01d528cc50b35ee9c4812aa58cc5935998e776bf8ed5b251e75"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:bc3c083c50390cf69e7e1b5a5a7303898966be973664ec0c4a4acea82c1d4315"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52d587092ab8df308635762386f45f4638badb0866355b2b86760f6d3c076188"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:61323159cf21bc3897674e5adb27cd9e7700bab6b84de40d7be28c3d46dc67cf"},
+ {file = "ruff-0.8.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ae4478b1471fc0c44ed52a6fb787e641a2ac58b1c1f91763bafbc2faddc5117"},
+ {file = "ruff-0.8.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:0c000a471d519b3e6cfc9c6680025d923b4ca140ce3e4612d1a2ef58e11f11fe"},
+ {file = "ruff-0.8.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:9257aa841e9e8d9b727423086f0fa9a86b6b420fbf4bf9e1465d1250ce8e4d8d"},
+ {file = "ruff-0.8.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:45a56f61b24682f6f6709636949ae8cc82ae229d8d773b4c76c09ec83964a95a"},
+ {file = "ruff-0.8.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:496dd38a53aa173481a7d8866bcd6451bd934d06976a2505028a50583e001b76"},
+ {file = "ruff-0.8.6-py3-none-win32.whl", hash = "sha256:e169ea1b9eae61c99b257dc83b9ee6c76f89042752cb2d83486a7d6e48e8f764"},
+ {file = "ruff-0.8.6-py3-none-win_amd64.whl", hash = "sha256:f1d70bef3d16fdc897ee290d7d20da3cbe4e26349f62e8a0274e7a3f4ce7a905"},
+ {file = "ruff-0.8.6-py3-none-win_arm64.whl", hash = "sha256:7d7fc2377a04b6e04ffe588caad613d0c460eb2ecba4c0ccbbfe2bc973cbc162"},
+ {file = "ruff-0.8.6.tar.gz", hash = "sha256:dcad24b81b62650b0eb8814f576fc65cfee8674772a6e24c9b747911801eeaa5"},
]
[[package]]