From 1110ab4413e74cb8c3e9408762a6fc6197df0122 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 2 Dec 2024 07:23:36 -0600
Subject: [PATCH 1/2] build(deps-dev): Bump the development-dependencies group
with 2 updates (#548)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps the development-dependencies group with 2 updates:
[faker](https://github.com/joke2k/faker) and
[ruff](https://github.com/astral-sh/ruff).
Updates `faker` from 33.0.0 to 33.1.0
Release notes
Sourced from faker's
releases.
Release v33.1.0
See CHANGELOG.md.
Changelog
Sourced from faker's
changelog.
Commits
Updates `ruff` from 0.8.0 to 0.8.1
Release notes
Sourced from ruff's
releases.
0.8.1
Release Notes
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)
- [
flake8-type-checking
] Implement
unquoted-type-alias
(TC007
) and
quoted-type-alias
(TC008
) (#12927)
- [
flake8-use-pathlib
] Recommend
Path.iterdir()
over os.listdir()
(PTH208
) (#14509)
- [
pylint
] Extend invalid-envvar-default
to
detect os.environ.get
(PLW1508
) (#14512)
- [
pylint
] Implement len-test
(PLC1802
) (#14309)
- [
refurb
] Fix bug where methods defined using lambdas
were flagged by FURB118
(#14639)
- [
ruff
] Auto-add r
prefix when string has
no backslashes for unraw-re-pattern
(RUF039
)
(#14536)
- [
ruff
] Implement
invalid-assert-message-literal-argument
(RUF040
) (#14488)
- [
ruff
] Implement
unnecessary-nested-literal
(RUF041
) (#14323)
- [
ruff
] Implement
unnecessary-regular-expression
(RUF055
) (#14659)
Rule changes
- Ignore more rules for stub files (#14541)
- [
pep8-naming
] Eliminate false positives for
single-letter names (N811
, N814
) (#14584)
- [
pyflakes
] Avoid false positives in
@no_type_check
contexts (F821
,
F722
) (#14615)
- [
ruff
] Detect redirected-noqa in file-level comments
(RUF101
) (#14635)
- [
ruff
] Mark fixes for unsorted-dunder-all
and unsorted-dunder-slots
as unsafe when there are complex
comments in the sequence (RUF022
, RUF023
) (#14560)
Bug fixes
- Avoid fixing code to
None | None
for
redundant-none-literal
(PYI061
) and
never-union
(RUF020
) (#14583,
#14589)
- [
flake8-bugbear
] Fix
mutable-contextvar-default
to resolve annotated function
calls properly (B039
) (#14532)
- [
flake8-pyi
, ruff
] Fix traversal of nested
literals and unions (PYI016
, PYI051
,
PYI055
, PYI062
, RUF041
) (#14641)
- [
flake8-pyi
] Avoid rewriting invalid type expressions
in unnecessary-type-union
(PYI055
) (#14660)
- [
flake8-type-checking
] Avoid syntax errors and type
checking problem for quoted annotations autofix (TC003
,
TC006
) (#14634)
- [
pylint
] Do not wrap function calls in parentheses in
the fix for unnecessary-dunder-call (PLC2801
) (#14601)
- [
ruff
] Handle attrs
's
auto_attribs
correctly (RUF009
) (#14520)
Contributors
... (truncated)
Changelog
Sourced from ruff's
changelog.
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)
- [
flake8-type-checking
] Implement
unquoted-type-alias
(TC007
) and
quoted-type-alias
(TC008
) (#12927)
- [
flake8-use-pathlib
] Recommend
Path.iterdir()
over os.listdir()
(PTH208
) (#14509)
- [
pylint
] Extend invalid-envvar-default
to
detect os.environ.get
(PLW1508
) (#14512)
- [
pylint
] Implement len-test
(PLC1802
) (#14309)
- [
refurb
] Fix bug where methods defined using lambdas
were flagged by FURB118
(#14639)
- [
ruff
] Auto-add r
prefix when string has
no backslashes for unraw-re-pattern
(RUF039
)
(#14536)
- [
ruff
] Implement
invalid-assert-message-literal-argument
(RUF040
) (#14488)
- [
ruff
] Implement
unnecessary-nested-literal
(RUF041
) (#14323)
- [
ruff
] Implement
unnecessary-regular-expression
(RUF055
) (#14659)
Rule changes
- Ignore more rules for stub files (#14541)
- [
pep8-naming
] Eliminate false positives for
single-letter names (N811
, N814
) (#14584)
- [
pyflakes
] Avoid false positives in
@no_type_check
contexts (F821
,
F722
) (#14615)
- [
ruff
] Detect redirected-noqa in file-level comments
(RUF101
) (#14635)
- [
ruff
] Mark fixes for unsorted-dunder-all
and unsorted-dunder-slots
as unsafe when there are complex
comments in the sequence (RUF022
, RUF023
) (#14560)
Bug fixes
- Avoid fixing code to
None | None
for
redundant-none-literal
(PYI061
) and
never-union
(RUF020
) (#14583,
#14589)
- [
flake8-bugbear
] Fix
mutable-contextvar-default
to resolve annotated function
calls properly (B039
) (#14532)
- [
flake8-pyi
, ruff
] Fix traversal of nested
literals and unions (PYI016
, PYI051
,
PYI055
, PYI062
, RUF041
) (#14641)
- [
flake8-pyi
] Avoid rewriting invalid type expressions
in unnecessary-type-union
(PYI055
) (#14660)
- [
flake8-type-checking
] Avoid syntax errors and type
checking problem for quoted annotations autofix (TC003
,
TC006
) (#14634)
- [
pylint
] Do not wrap function calls in parentheses in
the fix for unnecessary-dunder-call (PLC2801
) (#14601)
- [
ruff
] Handle attrs
's
auto_attribs
correctly (RUF009
) (#14520)
Commits
b3b2c98
Update CHANGELOG.md with the new commits for 0.8.1 (#14664)
abb3c6e
[flake8-pyi
] Avoid rewriting invalid type expressions in
`unnecessary-type-...
224fe75
[ruff
] Implement
unnecessary-regular-expression
(RUF055
) (#14659)
dc29f52
[flake8-pyi
, ruff
] Fix traversal of nested
literals and unions (PYI016
,...
d9cbf2f
Avoids unnecessary overhead for TC004
, when
TC001-003
are disabled (#14657)
3f6c65e
[red-knot] Fix merged type after if-else without explicit else branch
(#14621)
976c37a
Bump version to 0.8.1 (#14655)
a378ff3
[red-knot] Fix Boolean flags in mdtests (#14654)
d8bca0d
Fix bug where methods defined using lambdas were flagged by FURB118 (#14639)
6f1cf5b
[red-knot] Minor fix in MRO tests (#14652)
- Additional commits viewable in compare
view
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 major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
poetry.lock | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index 0aef3f5..1c6ea83 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -475,13 +475,13 @@ test = ["pytest (>=6)"]
[[package]]
name = "faker"
-version = "33.0.0"
+version = "33.1.0"
description = "Faker is a Python package that generates fake data for you."
optional = false
python-versions = ">=3.8"
files = [
- {file = "Faker-33.0.0-py3-none-any.whl", hash = "sha256:68e5580cb6b4226710886e595eabc13127149d6e71e9d1db65506a7fbe2c7fce"},
- {file = "faker-33.0.0.tar.gz", hash = "sha256:9b01019c1ddaf2253ca2308c0472116e993f4ad8fc9905f82fa965e0c6f932e9"},
+ {file = "Faker-33.1.0-py3-none-any.whl", hash = "sha256:d30c5f0e2796b8970de68978365247657486eb0311c5abe88d0b895b68dff05d"},
+ {file = "faker-33.1.0.tar.gz", hash = "sha256:1c925fc0e86a51fc46648b504078c88d0cd48da1da2595c4e712841cab43a1e4"},
]
[package.dependencies]
@@ -1382,29 +1382,29 @@ files = [
[[package]]
name = "ruff"
-version = "0.8.0"
+version = "0.8.1"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.8.0-py3-none-linux_armv6l.whl", hash = "sha256:fcb1bf2cc6706adae9d79c8d86478677e3bbd4ced796ccad106fd4776d395fea"},
- {file = "ruff-0.8.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:295bb4c02d58ff2ef4378a1870c20af30723013f441c9d1637a008baaf928c8b"},
- {file = "ruff-0.8.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7b1f1c76b47c18fa92ee78b60d2d20d7e866c55ee603e7d19c1e991fad933a9a"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eb0d4f250a7711b67ad513fde67e8870109e5ce590a801c3722580fe98c33a99"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0e55cce9aa93c5d0d4e3937e47b169035c7e91c8655b0974e61bb79cf398d49c"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f4cd64916d8e732ce6b87f3f5296a8942d285bbbc161acee7fe561134af64f9"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:c5c1466be2a2ebdf7c5450dd5d980cc87c8ba6976fb82582fea18823da6fa362"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2dabfd05b96b7b8f2da00d53c514eea842bff83e41e1cceb08ae1966254a51df"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:facebdfe5a5af6b1588a1d26d170635ead6892d0e314477e80256ef4a8470cf3"},
- {file = "ruff-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:87a8e86bae0dbd749c815211ca11e3a7bd559b9710746c559ed63106d382bd9c"},
- {file = "ruff-0.8.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:85e654f0ded7befe2d61eeaf3d3b1e4ef3894469cd664ffa85006c7720f1e4a2"},
- {file = "ruff-0.8.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:83a55679c4cb449fa527b8497cadf54f076603cc36779b2170b24f704171ce70"},
- {file = "ruff-0.8.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:812e2052121634cf13cd6fddf0c1871d0ead1aad40a1a258753c04c18bb71bbd"},
- {file = "ruff-0.8.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:780d5d8523c04202184405e60c98d7595bdb498c3c6abba3b6d4cdf2ca2af426"},
- {file = "ruff-0.8.0-py3-none-win32.whl", hash = "sha256:5fdb6efecc3eb60bba5819679466471fd7d13c53487df7248d6e27146e985468"},
- {file = "ruff-0.8.0-py3-none-win_amd64.whl", hash = "sha256:582891c57b96228d146725975fbb942e1f30a0c4ba19722e692ca3eb25cc9b4f"},
- {file = "ruff-0.8.0-py3-none-win_arm64.whl", hash = "sha256:ba93e6294e9a737cd726b74b09a6972e36bb511f9a102f1d9a7e1ce94dd206a6"},
- {file = "ruff-0.8.0.tar.gz", hash = "sha256:a7ccfe6331bf8c8dad715753e157457faf7351c2b69f62f32c165c2dbcbacd44"},
+ {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"},
]
[[package]]
From 880cfbfc13cd43b40f6d0ece492ae612f8d1f998 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 2 Dec 2024 11:07:48 -0600
Subject: [PATCH 2/2] chore: pre-commit autoupdate (#549)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.2 →
v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.2...v0.8.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
---
.pre-commit-config.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 17ee9f3..7bdf512 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,7 +18,7 @@ repos:
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.7.2
+ rev: v0.8.1
hooks:
- id: ruff
args: [--fix]