From 092dd70d18c8b46545387b350cf20120a338fa9d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 6 Dec 2024 10:52:52 -0700
Subject: [PATCH] Bump ruff from 0.7.4 to 0.8.2 (#297)
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.7.4 to 0.8.2.
Release notes
Sourced from ruff's
releases.
0.8.2
Release Notes
Preview features
- [
airflow
] Avoid deprecated values (AIR302
)
(#14582)
- [
airflow
] Extend removed names for AIR302
(#14734)
- [
ruff
] Extend
unnecessary-regular-expression
to non-literal strings
(RUF055
) (#14679)
- [
ruff
] Implement used-dummy-variable
(RUF052
) (#14611)
- [
ruff
] Implement unnecessary-cast-to-int
(RUF046
) (#14697)
Rule changes
- [
airflow
] Check AIR001
from builtin or
providers operators
module (#14631)
- [
flake8-pytest-style
] Remove @
in
pytest.mark.parametrize
rule messages (#14770)
- [
pandas-vet
] Skip rules if the panda
module hasn't been seen (#14671)
- [
pylint
] Fix false negatives for ascii
and
sorted
in len-as-condition
(PLC1802
) (#14692)
- [
refurb
] Guard hashlib
imports and mark
hashlib-digest-hex
fix as safe (FURB181
) (#14694)
Configuration
- [
flake8-import-conventions
] Improve syntax check for
aliases supplied in configuration for
unconventional-import-alias
(ICN001
) (#14745)
Bug fixes
- Revert: [pyflakes] Avoid false positives in
@no_type_check
contexts (F821
,
F722
) (#14615)
(#14726)
- [
pep8-naming
] Avoid false positive for class
Bar(type(foo))
(N804
) (#14683)
- [
pycodestyle
] Handle f-strings properly for
invalid-escape-sequence
(W605
) (#14748)
- [
pylint
] Ignore @overload
in
PLR0904
(#14730)
- [
refurb
] Handle non-finite decimals in
verbose-decimal-constructor
(FURB157
) (#14596)
- [
ruff
] Avoid emitting assignment-in-assert
when all references to the assigned variable are themselves inside
assert
s (RUF018
) (#14661)
Documentation
- Improve docs for
flake8-use-pathlib
rules (#14741)
- Improve error messages and docs for
flake8-comprehensions
rules (#14729)
- [
flake8-type-checking
] Expands TC006
docs
to better explain itself (#14749)
Contributors
... (truncated)
Changelog
Sourced from ruff's
changelog.
0.8.2
Preview features
- [
airflow
] Avoid deprecated values (AIR302
)
(#14582)
- [
airflow
] Extend removed names for AIR302
(#14734)
- [
ruff
] Extend
unnecessary-regular-expression
to non-literal strings
(RUF055
) (#14679)
- [
ruff
] Implement used-dummy-variable
(RUF052
) (#14611)
- [
ruff
] Implement unnecessary-cast-to-int
(RUF046
) (#14697)
Rule changes
- [
airflow
] Check AIR001
from builtin or
providers operators
module (#14631)
- [
flake8-pytest-style
] Remove @
in
pytest.mark.parametrize
rule messages (#14770)
- [
pandas-vet
] Skip rules if the panda
module hasn't been seen (#14671)
- [
pylint
] Fix false negatives for ascii
and
sorted
in len-as-condition
(PLC1802
) (#14692)
- [
refurb
] Guard hashlib
imports and mark
hashlib-digest-hex
fix as safe (FURB181
) (#14694)
Configuration
- [
flake8-import-conventions
] Improve syntax check for
aliases supplied in configuration for
unconventional-import-alias
(ICN001
) (#14745)
Bug fixes
- Revert: [pyflakes] Avoid false positives in
@no_type_check
contexts (F821
,
F722
) (#14615)
(#14726)
- [
pep8-naming
] Avoid false positive for class
Bar(type(foo))
(N804
) (#14683)
- [
pycodestyle
] Handle f-strings properly for
invalid-escape-sequence
(W605
) (#14748)
- [
pylint
] Ignore @overload
in
PLR0904
(#14730)
- [
refurb
] Handle non-finite decimals in
verbose-decimal-constructor
(FURB157
) (#14596)
- [
ruff
] Avoid emitting assignment-in-assert
when all references to the assigned variable are themselves inside
assert
s (RUF018
) (#14661)
Documentation
- Improve docs for
flake8-use-pathlib
rules (#14741)
- Improve error messages and docs for
flake8-comprehensions
rules (#14729)
- [
flake8-type-checking
] Expands TC006
docs
to better explain itself (#14749)
0.8.1
Preview features
- Formatter: Avoid invalid syntax for format-spec with quotes for all
Python versions (#14625)
- Formatter: Consider quotes inside format-specs when choosing the
quotes for an f-string (#14493)
- Formatter: Do not consider f-strings with escaped newlines as
multiline (#14624)
- Formatter: Fix f-string formatting in assignment statement (#14454)
- Formatter: Fix unnecessary space around power operator
(
**
) in overlong f-string expressions (#14489)
- [
airflow
] Avoid implicit schedule
argument
to DAG
and @dag
(AIR301
) (#14581)
- [
flake8-builtins
] Exempt private built-in modules
(A005
) (#14505)
- [
flake8-pytest-style
] Fix
pytest.mark.parametrize
rules to check calls instead of
decorators (#14515)
- [
flake8-type-checking
] Implement
runtime-cast-value
(TC006
) (#14511)
... (truncated)
Commits
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.7.4&new-version=0.8.2)](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 | 40 ++++++++++++++++++++--------------------
pyproject.toml | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index 712373e..ccfcdd9 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -2168,29 +2168,29 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"]
[[package]]
name = "ruff"
-version = "0.7.4"
+version = "0.8.2"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.7.4-py3-none-linux_armv6l.whl", hash = "sha256:a4919925e7684a3f18e18243cd6bea7cfb8e968a6eaa8437971f681b7ec51478"},
- {file = "ruff-0.7.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:cfb365c135b830778dda8c04fb7d4280ed0b984e1aec27f574445231e20d6c63"},
- {file = "ruff-0.7.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:63a569b36bc66fbadec5beaa539dd81e0527cb258b94e29e0531ce41bacc1f20"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d06218747d361d06fd2fdac734e7fa92df36df93035db3dc2ad7aa9852cb109"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e0cea28d0944f74ebc33e9f934238f15c758841f9f5edd180b5315c203293452"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:80094ecd4793c68b2571b128f91754d60f692d64bc0d7272ec9197fdd09bf9ea"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:997512325c6620d1c4c2b15db49ef59543ef9cd0f4aa8065ec2ae5103cedc7e7"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:00b4cf3a6b5fad6d1a66e7574d78956bbd09abfd6c8a997798f01f5da3d46a05"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7dbdc7d8274e1422722933d1edddfdc65b4336abf0b16dfcb9dedd6e6a517d06"},
- {file = "ruff-0.7.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e92dfb5f00eaedb1501b2f906ccabfd67b2355bdf117fea9719fc99ac2145bc"},
- {file = "ruff-0.7.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:3bd726099f277d735dc38900b6a8d6cf070f80828877941983a57bca1cd92172"},
- {file = "ruff-0.7.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:2e32829c429dd081ee5ba39aef436603e5b22335c3d3fff013cd585806a6486a"},
- {file = "ruff-0.7.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:662a63b4971807623f6f90c1fb664613f67cc182dc4d991471c23c541fee62dd"},
- {file = "ruff-0.7.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:876f5e09eaae3eb76814c1d3b68879891d6fde4824c015d48e7a7da4cf066a3a"},
- {file = "ruff-0.7.4-py3-none-win32.whl", hash = "sha256:75c53f54904be42dd52a548728a5b572344b50d9b2873d13a3f8c5e3b91f5cac"},
- {file = "ruff-0.7.4-py3-none-win_amd64.whl", hash = "sha256:745775c7b39f914238ed1f1b0bebed0b9155a17cd8bc0b08d3c87e4703b990d6"},
- {file = "ruff-0.7.4-py3-none-win_arm64.whl", hash = "sha256:11bff065102c3ae9d3ea4dc9ecdfe5a5171349cdd0787c1fc64761212fc9cf1f"},
- {file = "ruff-0.7.4.tar.gz", hash = "sha256:cd12e35031f5af6b9b93715d8c4f40360070b2041f81273d0527683d5708fce2"},
+ {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"},
]
[[package]]
@@ -2626,4 +2626,4 @@ propcache = ">=0.2.0"
[metadata]
lock-version = "2.0"
python-versions = ">=3.12,<4"
-content-hash = "eff3fdd7df2e9f12dc3f53991e764b8fa2f93235bc16942255f250e6775f366a"
+content-hash = "2dfd60c6d95fea4a7809f2dadf96d074876ef30b4aec24f0345d13c92730850c"
diff --git a/pyproject.toml b/pyproject.toml
index d900f9f..bc52336 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,7 +35,7 @@ openpyxl = "^3.1.5"
[tool.poetry.group.linters.dependencies]
black = "24.8.0"
-ruff = "0.7.4"
+ruff = "0.8.2"
[tool.poetry.group.cli.dependencies]