From 782e0348efd3f7ffa7f741febb019e241af41ec5 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 13 Dec 2024 09:58:17 -0700
Subject: [PATCH] Bump ruff from 0.8.2 to 0.8.3 (#305)
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, 22 insertions(+), 22 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index 53342c2..2e4609f 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,4 +1,4 @@
-# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
+# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand.
[[package]]
name = "aiobotocore"
@@ -2153,29 +2153,29 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"]
[[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]]
@@ -2611,4 +2611,4 @@ propcache = ">=0.2.0"
[metadata]
lock-version = "2.0"
python-versions = ">=3.12,<4"
-content-hash = "ab6d58a6a032e6e890976d1d5b4cab6a912db1eba2aa649ee93c88f8c0f2f6ff"
+content-hash = "cc3c95ec2e31b9c393dac26c38d1fcfec87ce44151b164567c38258e2047da82"
diff --git a/pyproject.toml b/pyproject.toml
index 9e52490..767164b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,7 +36,7 @@ openpyxl = "^3.1.5"
[tool.poetry.group.linters.dependencies]
black = "24.8.0"
-ruff = "0.8.2"
+ruff = "0.8.3"
[tool.poetry.group.cli.dependencies]