From d4656d94209648c4b0bc73bbd31bac2065cd1cba Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 1 Jan 2025 22:58:35 +0100
Subject: [PATCH] build(deps-dev): bump ruff from 0.8.1 to 0.8.4 (#192)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.1 to 0.8.4.
Release notes
Sourced from ruff's
releases.
0.8.4
Release Notes
Preview features
- [
airflow
] Extend AIR302
with additional
functions and classes (#15015)
- [
airflow
] Implement moved-to-provider-in-3
for modules that has been moved to Airflow providers
(AIR303
) (#14764)
- [
flake8-use-pathlib
] Extend check for invalid path
suffix to include the case "."
(PTH210
) (#14902)
- [
perflint
] Fix panic in PERF401
when list
variable is after the for
loop (#14971)
- [
perflint
] Simplify finding the loop target in
PERF401
(#15025)
- [
pylint
] Preserve original value format
(PLR6104
) (#14978)
- [
ruff
] Avoid false positives for RUF027
for typing context bindings (#15037)
- [
ruff
] Check for ambiguous pattern passed to
pytest.raises()
(RUF043
) (#14966)
Rule changes
- [
flake8-bandit
] Check S105
for annotated
assignment (#15059)
- [
flake8-pyi
] More autofixes for
redundant-none-literal
(PYI061
) (#14872)
- [
pydocstyle
] Skip leading whitespace for
D403
(#14963)
- [
ruff
] Skip SQLModel
base classes for
mutable-class-default
(RUF012
) (#14949)
Bug
- [
perflint
] Parenthesize walrus expressions in autofix
for manual-list-comprehension
(PERF401
) (#15050)
Server
- Check diagnostic refresh support from client capability which
enables dynamic configuration for various editors (#15014)
Contributors
... (truncated)
Changelog
Sourced from ruff's
changelog.
0.8.4
Preview features
- [
airflow
] Extend AIR302
with additional
functions and classes (#15015)
- [
airflow
] Implement moved-to-provider-in-3
for modules that has been moved to Airflow providers
(AIR303
) (#14764)
- [
flake8-use-pathlib
] Extend check for invalid path
suffix to include the case "."
(PTH210
) (#14902)
- [
perflint
] Fix panic in PERF401
when list
variable is after the for
loop (#14971)
- [
perflint
] Simplify finding the loop target in
PERF401
(#15025)
- [
pylint
] Preserve original value format
(PLR6104
) (#14978)
- [
ruff
] Avoid false positives for RUF027
for typing context bindings (#15037)
- [
ruff
] Check for ambiguous pattern passed to
pytest.raises()
(RUF043
) (#14966)
Rule changes
- [
flake8-bandit
] Check S105
for annotated
assignment (#15059)
- [
flake8-pyi
] More autofixes for
redundant-none-literal
(PYI061
) (#14872)
- [
pydocstyle
] Skip leading whitespace for
D403
(#14963)
- [
ruff
] Skip SQLModel
base classes for
mutable-class-default
(RUF012
) (#14949)
Bug
- [
perflint
] Parenthesize walrus expressions in autofix
for manual-list-comprehension
(PERF401
) (#15050)
Server
- Check diagnostic refresh support from client capability which
enables dynamic configuration for various editors (#15014)
0.8.3
Preview features
- Fix fstring formatting removing overlong implicit concatenated
string in expression part (#14811)
- [
airflow
] Add fix to remove deprecated keyword
arguments (AIR302
) (#14887)
- [
airflow
]: Extend rule to include deprecated names for
Airflow 3.0 (AIR302
) (#14765
and #14804)
- [
flake8-bugbear
] Improve error messages for
except*
(B025
, B029
,
B030
, B904
) (#14815)
- [
flake8-bugbear
] itertools.batched()
without explicit strict
(B911
) (#14408)
- [
flake8-use-pathlib
] Dotless suffix passed to
Path.with_suffix()
(PTH210
) (#14779)
- [
pylint
] Include parentheses and multiple comparators
in check for boolean-chained-comparison
(PLR1716
) (#14781)
- [
ruff
] Do not simplify round()
calls
(RUF046
) (#14832)
- [
ruff
] Don't emit used-dummy-variable
on
function parameters (RUF052
) (#14818)
- [
ruff
] Implement if-key-in-dict-del
(RUF051
) (#14553)
- [
ruff
] Mark autofix for RUF052
as always
unsafe (#14824)
- [
ruff
] Teach autofix for
used-dummy-variable
about TypeVars etc.
(RUF052
) (#14819)
Rule changes
- [
flake8-bugbear
] Offer unsafe autofix for
no-explicit-stacklevel
(B028
) (#14829)
- [
flake8-pyi
] Skip all type definitions in
string-or-bytes-too-long
(PYI053
) (#14797)
- [
pyupgrade
] Do not report when a UTF-8 comment is
followed by a non-UTF-8 one (UP009
) (#14728)
... (truncated)
Commits
3bb0dac
Bump version to 0.8.4 (#15064)
40cba5d
[red-knot] Cleanup various todo_type!()
messages (#15063)
596d80c
[perflint
] Parenthesize walrus expressions in autofix for
`manual-list-comp...
d8b9a36
Disable actionlint hook by default when running pre-commit locally (#15061)
85e71ba
[flake8-bandit
] Check S105
for annotated
assignment (#15059)
2802cbd
Don't special-case class instances in unary expression inference (#15045)
ed2bce6
[red-knot] Report invalid exceptions (#15042)
f0012df
Fix typos in RUF043.py
(#15044)
0fc4e8f
Introduce InferContext
(#14956)
ac81c72
[ruff
] Ambiguous pattern passed to
pytest.raises()
(RUF043
) (#14966)
- Additional commits viewable in compare
view
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.8.1&new-version=0.8.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
poetry.lock | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index 94adc79..e7e3ce7 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -600,29 +600,29 @@ prompt_toolkit = ">=2.0,<=3.0.36"
[[package]]
name = "ruff"
-version = "0.8.1"
+version = "0.8.4"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.8.1-py3-none-linux_armv6l.whl", hash = "sha256:fae0805bd514066f20309f6742f6ee7904a773eb9e6c17c45d6b1600ca65c9b5"},
- {file = "ruff-0.8.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b8a4f7385c2285c30f34b200ca5511fcc865f17578383db154e098150ce0a087"},
- {file = "ruff-0.8.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:cd054486da0c53e41e0086e1730eb77d1f698154f910e0cd9e0d64274979a209"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2029b8c22da147c50ae577e621a5bfbc5d1fed75d86af53643d7a7aee1d23871"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2666520828dee7dfc7e47ee4ea0d928f40de72056d929a7c5292d95071d881d1"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:333c57013ef8c97a53892aa56042831c372e0bb1785ab7026187b7abd0135ad5"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:288326162804f34088ac007139488dcb43de590a5ccfec3166396530b58fb89d"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b12c39b9448632284561cbf4191aa1b005882acbc81900ffa9f9f471c8ff7e26"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:364e6674450cbac8e998f7b30639040c99d81dfb5bbc6dfad69bc7a8f916b3d1"},
- {file = "ruff-0.8.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b22346f845fec132aa39cd29acb94451d030c10874408dbf776af3aaeb53284c"},
- {file = "ruff-0.8.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:b2f2f7a7e7648a2bfe6ead4e0a16745db956da0e3a231ad443d2a66a105c04fa"},
- {file = "ruff-0.8.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:adf314fc458374c25c5c4a4a9270c3e8a6a807b1bec018cfa2813d6546215540"},
- {file = "ruff-0.8.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a885d68342a231b5ba4d30b8c6e1b1ee3a65cf37e3d29b3c74069cdf1ee1e3c9"},
- {file = "ruff-0.8.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:d2c16e3508c8cc73e96aa5127d0df8913d2290098f776416a4b157657bee44c5"},
- {file = "ruff-0.8.1-py3-none-win32.whl", hash = "sha256:93335cd7c0eaedb44882d75a7acb7df4b77cd7cd0d2255c93b28791716e81790"},
- {file = "ruff-0.8.1-py3-none-win_amd64.whl", hash = "sha256:2954cdbe8dfd8ab359d4a30cd971b589d335a44d444b6ca2cb3d1da21b75e4b6"},
- {file = "ruff-0.8.1-py3-none-win_arm64.whl", hash = "sha256:55873cc1a473e5ac129d15eccb3c008c096b94809d693fc7053f588b67822737"},
- {file = "ruff-0.8.1.tar.gz", hash = "sha256:3583db9a6450364ed5ca3f3b4225958b24f78178908d5c4bc0f46251ccca898f"},
+ {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"},
]
[[package]]