From 344e0a7fe39392b047068b9a9227deccf5986643 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 13 Dec 2024 09:57:55 -0700
Subject: [PATCH] chore(deps-dev): bump ruff from 0.8.2 to 0.8.3 (#271)
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.2 to 0.8.3.
Release notes
Sourced from ruff's
releases.
0.8.3
Release Notes
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)
- [
pyupgrade
] Mark fixes for
convert-typed-dict-functional-to-class
and
convert-named-tuple-functional-to-class
as unsafe if they
will remove comments (UP013
, UP014
) (#14842)
Bug fixes
- Raise syntax error for mixing
except
and
except*
(#14895)
- [
flake8-bugbear
] Fix B028
to allow
stacklevel
to be explicitly assigned as a positional
argument (#14868)
- [
flake8-bugbear
] Skip B028
if
warnings.warn
is called with *args
or
**kwargs
(#14870)
- [
flake8-comprehensions
] Skip iterables with named
expressions in unnecessary-map
(C417
) (#14827)
- [
flake8-pyi
] Also remove self
and
cls
's annotation (PYI034
) (#14801)
- [
flake8-pytest-style
] Fix
pytest-parametrize-names-wrong-type
(PT006
) to
edit both argnames
and argvalues
if both of
them are single-element tuples/lists (#14699)
- [
perflint
] Improve autofix for PERF401
(#14369)
- [
pylint
] Fix PLW1508
false positive for
default string created via a mult operation (#14841)
Contributors
... (truncated)
Changelog
Sourced from ruff's
changelog.
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)
- [
pyupgrade
] Mark fixes for
convert-typed-dict-functional-to-class
and
convert-named-tuple-functional-to-class
as unsafe if they
will remove comments (UP013
, UP014
) (#14842)
Bug fixes
- Raise syntax error for mixing
except
and
except*
(#14895)
- [
flake8-bugbear
] Fix B028
to allow
stacklevel
to be explicitly assigned as a positional
argument (#14868)
- [
flake8-bugbear
] Skip B028
if
warnings.warn
is called with *args
or
**kwargs
(#14870)
- [
flake8-comprehensions
] Skip iterables with named
expressions in unnecessary-map
(C417
) (#14827)
- [
flake8-pyi
] Also remove self
and
cls
's annotation (PYI034
) (#14801)
- [
flake8-pytest-style
] Fix
pytest-parametrize-names-wrong-type
(PT006
) to
edit both argnames
and argvalues
if both of
them are single-element tuples/lists (#14699)
- [
perflint
] Improve autofix for PERF401
(#14369)
- [
pylint
] Fix PLW1508
false positive for
default string created via a mult operation (#14841)
Commits
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.8.2&new-version=0.8.3)](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 | 42 ++++++++++++++++++++----------------------
pyproject.toml | 2 +-
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index 5a78dee..91e9dbf 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -503,7 +503,6 @@ files = [
{file = "cryptography-44.0.0-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:761817a3377ef15ac23cd7834715081791d4ec77f9297ee694ca1ee9c2c7e5eb"},
{file = "cryptography-44.0.0-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3c672a53c0fb4725a29c303be906d3c1fa99c32f58abe008a82705f9ee96f40b"},
{file = "cryptography-44.0.0-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:4ac4c9f37eba52cb6fbeaf5b59c152ea976726b865bd4cf87883a7e7006cc543"},
- {file = "cryptography-44.0.0-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:60eb32934076fa07e4316b7b2742fa52cbb190b42c2df2863dbc4230a0a9b385"},
{file = "cryptography-44.0.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ed3534eb1090483c96178fcb0f8893719d96d5274dfde98aa6add34614e97c8e"},
{file = "cryptography-44.0.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f3f6fdfa89ee2d9d496e2c087cebef9d4fcbb0ad63c40e821b39f74bf48d9c5e"},
{file = "cryptography-44.0.0-cp37-abi3-win32.whl", hash = "sha256:eb33480f1bad5b78233b0ad3e1b0be21e8ef1da745d8d2aecbb20671658b9053"},
@@ -514,7 +513,6 @@ files = [
{file = "cryptography-44.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:c5eb858beed7835e5ad1faba59e865109f3e52b3783b9ac21e7e47dc5554e289"},
{file = "cryptography-44.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f53c2c87e0fb4b0c00fa9571082a057e37690a8f12233306161c8f4b819960b7"},
{file = "cryptography-44.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:9e6fc8a08e116fb7c7dd1f040074c9d7b51d74a8ea40d4df2fc7aa08b76b9e6c"},
- {file = "cryptography-44.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:9abcc2e083cbe8dde89124a47e5e53ec38751f0d7dfd36801008f316a127d7ba"},
{file = "cryptography-44.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:d2436114e46b36d00f8b72ff57e598978b37399d2786fd39793c36c6d5cb1c64"},
{file = "cryptography-44.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a01956ddfa0a6790d594f5b34fc1bfa6098aca434696a03cfdbe469b8ed79285"},
{file = "cryptography-44.0.0-cp39-abi3-win32.whl", hash = "sha256:eca27345e1214d1b9f9490d200f9db5a874479be914199194e746c893788d417"},
@@ -1446,29 +1444,29 @@ requests = ">=2.0.1,<3.0.0"
[[package]]
name = "ruff"
-version = "0.8.2"
+version = "0.8.3"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.8.2-py3-none-linux_armv6l.whl", hash = "sha256:c49ab4da37e7c457105aadfd2725e24305ff9bc908487a9bf8d548c6dad8bb3d"},
- {file = "ruff-0.8.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ec016beb69ac16be416c435828be702ee694c0d722505f9c1f35e1b9c0cc1bf5"},
- {file = "ruff-0.8.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f05cdf8d050b30e2ba55c9b09330b51f9f97d36d4673213679b965d25a785f3c"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60f578c11feb1d3d257b2fb043ddb47501ab4816e7e221fbb0077f0d5d4e7b6f"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbd5cf9b0ae8f30eebc7b360171bd50f59ab29d39f06a670b3e4501a36ba5897"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b402ddee3d777683de60ff76da801fa7e5e8a71038f57ee53e903afbcefdaa58"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:705832cd7d85605cb7858d8a13d75993c8f3ef1397b0831289109e953d833d29"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:32096b41aaf7a5cc095fa45b4167b890e4c8d3fd217603f3634c92a541de7248"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e769083da9439508833cfc7c23e351e1809e67f47c50248250ce1ac52c21fb93"},
- {file = "ruff-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fe716592ae8a376c2673fdfc1f5c0c193a6d0411f90a496863c99cd9e2ae25d"},
- {file = "ruff-0.8.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:81c148825277e737493242b44c5388a300584d73d5774defa9245aaef55448b0"},
- {file = "ruff-0.8.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d261d7850c8367704874847d95febc698a950bf061c9475d4a8b7689adc4f7fa"},
- {file = "ruff-0.8.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1ca4e3a87496dc07d2427b7dd7ffa88a1e597c28dad65ae6433ecb9f2e4f022f"},
- {file = "ruff-0.8.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:729850feed82ef2440aa27946ab39c18cb4a8889c1128a6d589ffa028ddcfc22"},
- {file = "ruff-0.8.2-py3-none-win32.whl", hash = "sha256:ac42caaa0411d6a7d9594363294416e0e48fc1279e1b0e948391695db2b3d5b1"},
- {file = "ruff-0.8.2-py3-none-win_amd64.whl", hash = "sha256:2aae99ec70abf43372612a838d97bfe77d45146254568d94926e8ed5bbb409ea"},
- {file = "ruff-0.8.2-py3-none-win_arm64.whl", hash = "sha256:fb88e2a506b70cfbc2de6fae6681c4f944f7dd5f2fe87233a7233d888bad73e8"},
- {file = "ruff-0.8.2.tar.gz", hash = "sha256:b84f4f414dda8ac7f75075c1fa0b905ac0ff25361f42e6d5da681a465e0f78e5"},
+ {file = "ruff-0.8.3-py3-none-linux_armv6l.whl", hash = "sha256:8d5d273ffffff0acd3db5bf626d4b131aa5a5ada1276126231c4174543ce20d6"},
+ {file = "ruff-0.8.3-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e4d66a21de39f15c9757d00c50c8cdd20ac84f55684ca56def7891a025d7e939"},
+ {file = "ruff-0.8.3-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c356e770811858bd20832af696ff6c7e884701115094f427b64b25093d6d932d"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c0a60a825e3e177116c84009d5ebaa90cf40dfab56e1358d1df4e29a9a14b13"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:75fb782f4db39501210ac093c79c3de581d306624575eddd7e4e13747e61ba18"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f26bc76a133ecb09a38b7868737eded6941b70a6d34ef53a4027e83913b6502"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:01b14b2f72a37390c1b13477c1c02d53184f728be2f3ffc3ace5b44e9e87b90d"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:53babd6e63e31f4e96ec95ea0d962298f9f0d9cc5990a1bbb023a6baf2503a82"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1ae441ce4cf925b7f363d33cd6570c51435972d697e3e58928973994e56e1452"},
+ {file = "ruff-0.8.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7c65bc0cadce32255e93c57d57ecc2cca23149edd52714c0c5d6fa11ec328cd"},
+ {file = "ruff-0.8.3-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:5be450bb18f23f0edc5a4e5585c17a56ba88920d598f04a06bd9fd76d324cb20"},
+ {file = "ruff-0.8.3-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8faeae3827eaa77f5721f09b9472a18c749139c891dbc17f45e72d8f2ca1f8fc"},
+ {file = "ruff-0.8.3-py3-none-musllinux_1_2_i686.whl", hash = "sha256:db503486e1cf074b9808403991663e4277f5c664d3fe237ee0d994d1305bb060"},
+ {file = "ruff-0.8.3-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:6567be9fb62fbd7a099209257fef4ad2c3153b60579818b31a23c886ed4147ea"},
+ {file = "ruff-0.8.3-py3-none-win32.whl", hash = "sha256:19048f2f878f3ee4583fc6cb23fb636e48c2635e30fb2022b3a1cd293402f964"},
+ {file = "ruff-0.8.3-py3-none-win_amd64.whl", hash = "sha256:f7df94f57d7418fa7c3ffb650757e0c2b96cf2501a0b192c18e4fb5571dfada9"},
+ {file = "ruff-0.8.3-py3-none-win_arm64.whl", hash = "sha256:fe2756edf68ea79707c8d68b78ca9a58ed9af22e430430491ee03e718b5e4936"},
+ {file = "ruff-0.8.3.tar.gz", hash = "sha256:5e7558304353b84279042fc584a4f4cb8a07ae79b2bf3da1a7551d960b5626d3"},
]
[[package]]
@@ -1643,4 +1641,4 @@ standard = ["colorama (>=0.4)", "httptools (>=0.6.3)", "python-dotenv (>=0.13)",
[metadata]
lock-version = "2.0"
python-versions = ">=3.12,<4"
-content-hash = "ddc9ded13f0979fd6ecf9ed378657202dcd7c51896392def07ffd608db43b9cc"
+content-hash = "ffaa6dbb680d54518177c3bb8e2ff578fd0190050a874b6ac989ebd9c0d92a74"
diff --git a/pyproject.toml b/pyproject.toml
index 34135ef..868d1ca 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,7 +27,7 @@ pytest-alembic = "^0.11.1"
[tool.poetry.group.linters.dependencies]
-ruff = "0.8.2"
+ruff = "0.8.3"
black = "24.8.0"
[tool.pytest.ini_options]