From a992711c8c95763b5bca06eea3eb758e99a9fa40 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 14 May 2024 15:49:27 -0400
Subject: [PATCH] Bump ruff from 0.1.6 to 0.4.4 (#217)
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.1.6 to 0.4.4.
Release notes
Sourced from ruff's
releases.
v0.4.4
Changes
Preview features
- [
pycodestyle
] Ignore end-of-line comments when
determining blank line rules (#11342)
- [
pylint
] Detect pathlib.Path.open
calls in
unspecified-encoding
(PLW1514
) (#11288)
- [
flake8-pyi
] Implement PYI059
(generic-not-last-base-class
) (#11233)
- [
flake8-pyi
] Implement PYI062
(duplicate-literal-member
) (#11269)
Rule changes
- [
flake8-boolean-trap
] Allow passing booleans as
positional-only arguments in code such as set(True)
(#11287)
- [
flake8-bugbear
] Ignore enum classes in
cached-instance-method
(B019
) (#11312)
Server
- Expand tildes when resolving Ruff server configuration file (#11283)
- Fix
ruff server
hanging after Neovim closes (#11291)
- Editor settings are used by default if no file-based configuration
exists (#11266)
Bug fixes
- [
pylint
] Consider with
statements for
too-many-branches
(PLR0912
) (#11321)
- [
flake8-blind-except
, tryceratops
] Respect
logged and re-raised expressions in nested statements
(BLE001
, TRY201
) (#11301)
- Recognise assignments such as
__all__ =
builtins.list(["foo", "bar"])
as valid
__all__
definitions (#11335)
Contributors
v0.4.3
Changes
Enhancements
- Add support for PEP 696 syntax (#11120)
... (truncated)
Changelog
Sourced from ruff's
changelog.
0.4.4
Preview features
- [
pycodestyle
] Ignore end-of-line comments when
determining blank line rules (#11342)
- [
pylint
] Detect pathlib.Path.open
calls in
unspecified-encoding
(PLW1514
) (#11288)
- [
flake8-pyi
] Implement PYI059
(generic-not-last-base-class
) (#11233)
- [
flake8-pyi
] Implement PYI062
(duplicate-literal-member
) (#11269)
Rule changes
- [
flake8-boolean-trap
] Allow passing booleans as
positional-only arguments in code such as set(True)
(#11287)
- [
flake8-bugbear
] Ignore enum classes in
cached-instance-method
(B019
) (#11312)
Server
- Expand tildes when resolving Ruff server configuration file (#11283)
- Fix
ruff server
hanging after Neovim closes (#11291)
- Editor settings are used by default if no file-based configuration
exists (#11266)
Bug fixes
- [
pylint
] Consider with
statements for
too-many-branches
(PLR0912
) (#11321)
- [
flake8-blind-except
, tryceratops
] Respect
logged and re-raised expressions in nested statements
(BLE001
, TRY201
) (#11301)
- Recognise assignments such as
__all__ =
builtins.list(["foo", "bar"])
as valid
__all__
definitions (#11335)
0.4.3
Enhancements
- Add support for PEP 696 syntax (#11120)
Preview features
- [
refurb
] Use function range for
reimplemented-operator
diagnostics (#11271)
- [
refurb
] Ignore methods in
reimplemented-operator
(FURB118
) (#11270)
- [
refurb
] Implement fstring-number-format
(FURB116
) (#10921)
- [
ruff
] Implement redirected-noqa
(RUF101
) (#11052)
- [
pyflakes
] Distinguish between first-party and
third-party imports for fix suggestions (#11168)
Rule changes
- [
flake8-bugbear
] Ignore non-abstract class attributes
when enforcing B024
(#11210)
- [
flake8-logging
] Include inline instantiations when
detecting loggers (#11154)
- [
pylint
] Also emit PLR0206
for properties
with variadic parameters (#11200)
- [
ruff
] Detect duplicate codes as part of
unused-noqa
(RUF100
) (#10850)
Formatter
- Avoid multiline expression if format specifier is present (#11123)
... (truncated)
Commits
3e8878a
Bump version to v0.4.4 (#11352)
b6b4ad9
[red-knot] @override
lint rule
(#11282)
dd42961
[pylint
] Detect pathlib.Path.open
calls in
unspecified-encoding
(`PLW15...
c80c171
[red-knot] Vendor typeshed's stdlib (#11340)
e2fe177
Revert "Simplify arithmetic operation in logical lines checker (#11346)"
(#11...
e9d1cdd
Simplify arithmetic operation in logical lines checker (#11346)
dfe4291
Improve ruff_python_semantic::all::extract_all_names()
(#11335)
4541337
[red-knot] Remove \<Db: SemanticDb>
contraints in
favor of dynamic dispatch ...
8e9ddee
Ignore end-of-line comments when determining blank line rules (#11342)
702d2fa
Make B024 and B027 documentation more nuanced (#11341)
- 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.1.6&new-version=0.4.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 +++++++++++++++++++-------------------
pyproject.toml | 2 +-
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index 93e6c60b..4bdaf5db 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1672,28 +1672,28 @@ pyasn1 = ">=0.1.3"
[[package]]
name = "ruff"
-version = "0.1.6"
+version = "0.4.4"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.1.6-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:88b8cdf6abf98130991cbc9f6438f35f6e8d41a02622cc5ee130a02a0ed28703"},
- {file = "ruff-0.1.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5c549ed437680b6105a1299d2cd30e4964211606eeb48a0ff7a93ef70b902248"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cf5f701062e294f2167e66d11b092bba7af6a057668ed618a9253e1e90cfd76"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:05991ee20d4ac4bb78385360c684e4b417edd971030ab12a4fbd075ff535050e"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87455a0c1f739b3c069e2f4c43b66479a54dea0276dd5d4d67b091265f6fd1dc"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:683aa5bdda5a48cb8266fcde8eea2a6af4e5700a392c56ea5fb5f0d4bfdc0240"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:137852105586dcbf80c1717facb6781555c4e99f520c9c827bd414fac67ddfb6"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd98138a98d48a1c36c394fd6b84cd943ac92a08278aa8ac8c0fdefcf7138f35"},
- {file = "ruff-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a0cd909d25f227ac5c36d4e7e681577275fb74ba3b11d288aff7ec47e3ae745"},
- {file = "ruff-0.1.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8fd1c62a47aa88a02707b5dd20c5ff20d035d634aa74826b42a1da77861b5ff"},
- {file = "ruff-0.1.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:fd89b45d374935829134a082617954120d7a1470a9f0ec0e7f3ead983edc48cc"},
- {file = "ruff-0.1.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:491262006e92f825b145cd1e52948073c56560243b55fb3b4ecb142f6f0e9543"},
- {file = "ruff-0.1.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ea284789861b8b5ca9d5443591a92a397ac183d4351882ab52f6296b4fdd5462"},
- {file = "ruff-0.1.6-py3-none-win32.whl", hash = "sha256:1610e14750826dfc207ccbcdd7331b6bd285607d4181df9c1c6ae26646d6848a"},
- {file = "ruff-0.1.6-py3-none-win_amd64.whl", hash = "sha256:4558b3e178145491e9bc3b2ee3c4b42f19d19384eaa5c59d10acf6e8f8b57e33"},
- {file = "ruff-0.1.6-py3-none-win_arm64.whl", hash = "sha256:03910e81df0d8db0e30050725a5802441c2022ea3ae4fe0609b76081731accbc"},
- {file = "ruff-0.1.6.tar.gz", hash = "sha256:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184"},
+ {file = "ruff-0.4.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:29d44ef5bb6a08e235c8249294fa8d431adc1426bfda99ed493119e6f9ea1bf6"},
+ {file = "ruff-0.4.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c4efe62b5bbb24178c950732ddd40712b878a9b96b1d02b0ff0b08a090cbd891"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4c8e2f1e8fc12d07ab521a9005d68a969e167b589cbcaee354cb61e9d9de9c15"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:60ed88b636a463214905c002fa3eaab19795679ed55529f91e488db3fe8976ab"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b90fc5e170fc71c712cc4d9ab0e24ea505c6a9e4ebf346787a67e691dfb72e85"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:8e7e6ebc10ef16dcdc77fd5557ee60647512b400e4a60bdc4849468f076f6eef"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b9ddb2c494fb79fc208cd15ffe08f32b7682519e067413dbaf5f4b01a6087bcd"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c51c928a14f9f0a871082603e25a1588059b7e08a920f2f9fa7157b5bf08cfe9"},
+ {file = "ruff-0.4.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b5eb0a4bfd6400b7d07c09a7725e1a98c3b838be557fee229ac0f84d9aa49c36"},
+ {file = "ruff-0.4.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:b1867ee9bf3acc21778dcb293db504692eda5f7a11a6e6cc40890182a9f9e595"},
+ {file = "ruff-0.4.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1aecced1269481ef2894cc495647392a34b0bf3e28ff53ed95a385b13aa45768"},
+ {file = "ruff-0.4.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9da73eb616b3241a307b837f32756dc20a0b07e2bcb694fec73699c93d04a69e"},
+ {file = "ruff-0.4.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:958b4ea5589706a81065e2a776237de2ecc3e763342e5cc8e02a4a4d8a5e6f95"},
+ {file = "ruff-0.4.4-py3-none-win32.whl", hash = "sha256:cb53473849f011bca6e754f2cdf47cafc9c4f4ff4570003a0dad0b9b6890e876"},
+ {file = "ruff-0.4.4-py3-none-win_amd64.whl", hash = "sha256:424e5b72597482543b684c11def82669cc6b395aa8cc69acc1858b5ef3e5daae"},
+ {file = "ruff-0.4.4-py3-none-win_arm64.whl", hash = "sha256:39df0537b47d3b597293edbb95baf54ff5b49589eb7ff41926d8243caa995ea6"},
+ {file = "ruff-0.4.4.tar.gz", hash = "sha256:f87ea42d5cdebdc6a69761a9d0bc83ae9b3b30d0ad78952005ba6568d6c022af"},
]
[[package]]
@@ -2112,4 +2112,4 @@ files = [
[metadata]
lock-version = "2.0"
python-versions = ">=3.12,<4"
-content-hash = "dd6649a2b87f8bf3f5f4148a522da84e52fbc7fe5640cbb606915a08a3331442"
+content-hash = "b4c888377457dcdb1a885421642a45039b4548bc401cf586ed3dd7438bdab7c6"
diff --git a/pyproject.toml b/pyproject.toml
index 66544b44..4f970beb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ aiosqlite = "^0.20.0"
[tool.poetry.group.linters.dependencies]
-ruff = "0.1.6"
+ruff = "0.4.4"
black = "24.4.2"
[build-system]