From 9a109ad0c668299e560c285170dcd61953d8523c Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 29 Apr 2024 14:36:24 -0400
Subject: [PATCH] Bump ruff from 0.4.1 to 0.4.2 (#172)
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.4.1 to 0.4.2.
Release notes
Sourced from ruff's
releases.
v0.4.2
Changes
Rule changes
- [
flake8-pyi
] Allow for overloaded __exit__
and __aexit__
definitions (PYI036
) (#11057)
- [
pyupgrade
] Catch usages of "%s" %
var
and provide an unsafe fix (UP031
) (#11019)
- [
refurb
] Implement new rule that suggests min/max over
sorted()
(FURB192
) (#10868)
Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqa
codes (#11096)
- Introduce common Ruff configuration options with new server settings
(#11062)
Bug fixes
- Use
macos-12
for building release wheels to enable
macOS 11 compatibility (#11146)
- [
flake8-blind-expect
] Allow raise from in
BLE001
(#11131)
- [
flake8-pyi
] Allow simple assignments to
None
in enum class scopes (PYI026
) (#11128)
- [
flake8-simplify
] Avoid raising SIM911
for
non-zip
attribute calls (#11126)
- [
refurb
] Avoid operator.itemgetter
suggestion for single-item tuple (#11095)
- [
ruff
] Respect per-file-ignores for RUF100
with no other diagnostics (#11058)
- [
ruff
] Fix async comprehension false positive
(RUF029
) (#11070)
Documentation
- [
flake8-bugbear
] Document explicitly disabling strict
zip (B905
) (#11040)
- [
flake8-type-checking
] Mention
lint.typing-modules
in TCH001
,
TCH002
, and TCH003
(#11144)
- [
isort
] Improve documentation around custom
isort
sections (#11050)
- [
pylint
] Fix documentation oversight for
invalid-X-returns
(#11094)
Performance
- Use
matchit
to resolve per-file settings (#11111)
Contributors
... (truncated)
Changelog
Sourced from ruff's
changelog.
0.4.2
Rule changes
- [
flake8-pyi
] Allow for overloaded __exit__
and __aexit__
definitions (PYI036
) (#11057)
- [
pyupgrade
] Catch usages of "%s" %
var
and provide an unsafe fix (UP031
) (#11019)
- [
refurb
] Implement new rule that suggests min/max over
sorted()
(FURB192
) (#10868)
Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqa
codes (#11096)
- Introduce common Ruff configuration options with new server settings
(#11062)
Bug fixes
- Use
macos-12
for building release wheels to enable
macOS 11 compatibility (#11146)
- [
flake8-blind-expect
] Allow raise from in
BLE001
(#11131)
- [
flake8-pyi
] Allow simple assignments to
None
in enum class scopes (PYI026
) (#11128)
- [
flake8-simplify
] Avoid raising SIM911
for
non-zip
attribute calls (#11126)
- [
refurb
] Avoid operator.itemgetter
suggestion for single-item tuple (#11095)
- [
ruff
] Respect per-file-ignores for RUF100
with no other diagnostics (#11058)
- [
ruff
] Fix async comprehension false positive
(RUF029
) (#11070)
Documentation
- [
flake8-bugbear
] Document explicitly disabling strict
zip (B905
) (#11040)
- [
flake8-type-checking
] Mention
lint.typing-modules
in TCH001
,
TCH002
, and TCH003
(#11144)
- [
isort
] Improve documentation around custom
isort
sections (#11050)
- [
pylint
] Fix documentation oversight for
invalid-X-returns
(#11094)
Performance
- Use
matchit
to resolve per-file settings (#11111)
Commits
77c93fd
Bump version to 0.4.2 (#11151)
1c9f5e3
Display the AST even with syntax errors (#11147)
263a0d2
Use macos-12
to build release wheels (#11146)
4738e19
Remove unused lexical error types (#11145)
f428bd5
Docs: mention lint.typing-modules
in TCH001
,
TCH002
, TCH003
(#11144)
4690890
ruff server
: In 'publish diagnostics' mode, document
diagnostics are cleare...
19baabb
README: add Apache Superset to project list (#11136)
cee38f3
[flake8-blind-expect
] Allow raise from in
BLE001
(#11131)
e3fde28
[flake8-pyi
] Allow overloaded __exit__
and
__aexit__
definitions (`PYI0...
1c8849f
Use Matchit to Resolve Per-File Settings (#11111)
- 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.4.1&new-version=0.4.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 | 38 +++++++++++++++++++-------------------
pyproject.toml | 2 +-
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index b2fd3a6b..2d3ea0b8 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -980,28 +980,28 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"]
[[package]]
name = "ruff"
-version = "0.4.1"
+version = "0.4.2"
description = "An extremely fast Python linter and code formatter, written in Rust."
optional = false
python-versions = ">=3.7"
files = [
- {file = "ruff-0.4.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:2d9ef6231e3fbdc0b8c72404a1a0c46fd0dcea84efca83beb4681c318ea6a953"},
- {file = "ruff-0.4.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9485f54a7189e6f7433e0058cf8581bee45c31a25cd69009d2a040d1bd4bfaef"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d2921ac03ce1383e360e8a95442ffb0d757a6a7ddd9a5be68561a671e0e5807e"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:eec8d185fe193ad053eda3a6be23069e0c8ba8c5d20bc5ace6e3b9e37d246d3f"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:baa27d9d72a94574d250f42b7640b3bd2edc4c58ac8ac2778a8c82374bb27984"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:f1ee41580bff1a651339eb3337c20c12f4037f6110a36ae4a2d864c52e5ef954"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0926cefb57fc5fced629603fbd1a23d458b25418681d96823992ba975f050c2b"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2c6e37f2e3cd74496a74af9a4fa67b547ab3ca137688c484749189bf3a686ceb"},
- {file = "ruff-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:efd703a5975ac1998c2cc5e9494e13b28f31e66c616b0a76e206de2562e0843c"},
- {file = "ruff-0.4.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:b92f03b4aa9fa23e1799b40f15f8b95cdc418782a567d6c43def65e1bbb7f1cf"},
- {file = "ruff-0.4.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1c859f294f8633889e7d77de228b203eb0e9a03071b72b5989d89a0cf98ee262"},
- {file = "ruff-0.4.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:b34510141e393519a47f2d7b8216fec747ea1f2c81e85f076e9f2910588d4b64"},
- {file = "ruff-0.4.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:6e68d248ed688b9d69fd4d18737edcbb79c98b251bba5a2b031ce2470224bdf9"},
- {file = "ruff-0.4.1-py3-none-win32.whl", hash = "sha256:b90506f3d6d1f41f43f9b7b5ff845aeefabed6d2494307bc7b178360a8805252"},
- {file = "ruff-0.4.1-py3-none-win_amd64.whl", hash = "sha256:c7d391e5936af5c9e252743d767c564670dc3889aff460d35c518ee76e4b26d7"},
- {file = "ruff-0.4.1-py3-none-win_arm64.whl", hash = "sha256:a1eaf03d87e6a7cd5e661d36d8c6e874693cb9bc3049d110bc9a97b350680c43"},
- {file = "ruff-0.4.1.tar.gz", hash = "sha256:d592116cdbb65f8b1b7e2a2b48297eb865f6bdc20641879aa9d7b9c11d86db79"},
+ {file = "ruff-0.4.2-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:8d14dc8953f8af7e003a485ef560bbefa5f8cc1ad994eebb5b12136049bbccc5"},
+ {file = "ruff-0.4.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:24016ed18db3dc9786af103ff49c03bdf408ea253f3cb9e3638f39ac9cf2d483"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0e2e06459042ac841ed510196c350ba35a9b24a643e23db60d79b2db92af0c2b"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3afabaf7ba8e9c485a14ad8f4122feff6b2b93cc53cd4dad2fd24ae35112d5c5"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:799eb468ea6bc54b95527143a4ceaf970d5aa3613050c6cff54c85fda3fde480"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:ec4ba9436a51527fb6931a8839af4c36a5481f8c19e8f5e42c2f7ad3a49f5069"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6a2243f8f434e487c2a010c7252150b1fdf019035130f41b77626f5655c9ca22"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8772130a063f3eebdf7095da00c0b9898bd1774c43b336272c3e98667d4fb8fa"},
+ {file = "ruff-0.4.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ab165ef5d72392b4ebb85a8b0fbd321f69832a632e07a74794c0e598e7a8376"},
+ {file = "ruff-0.4.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:1f32cadf44c2020e75e0c56c3408ed1d32c024766bd41aedef92aa3ca28eef68"},
+ {file = "ruff-0.4.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:22e306bf15e09af45ca812bc42fa59b628646fa7c26072555f278994890bc7ac"},
+ {file = "ruff-0.4.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:82986bb77ad83a1719c90b9528a9dd663c9206f7c0ab69282af8223566a0c34e"},
+ {file = "ruff-0.4.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:652e4ba553e421a6dc2a6d4868bc3b3881311702633eb3672f9f244ded8908cd"},
+ {file = "ruff-0.4.2-py3-none-win32.whl", hash = "sha256:7891ee376770ac094da3ad40c116258a381b86c7352552788377c6eb16d784fe"},
+ {file = "ruff-0.4.2-py3-none-win_amd64.whl", hash = "sha256:5ec481661fb2fd88a5d6cf1f83403d388ec90f9daaa36e40e2c003de66751798"},
+ {file = "ruff-0.4.2-py3-none-win_arm64.whl", hash = "sha256:cbd1e87c71bca14792948c4ccb51ee61c3296e164019d2d484f3eaa2d360dfaf"},
+ {file = "ruff-0.4.2.tar.gz", hash = "sha256:33bcc160aee2520664bc0859cfeaebc84bb7323becff3f303b8f1f2d81cb4edc"},
]
[[package]]
@@ -1222,4 +1222,4 @@ files = [
[metadata]
lock-version = "2.0"
python-versions = ">=3.12,<4"
-content-hash = "7a83e812ffefb97861e02fc993f4939a10ada9c3bb7a3414a5ef543c1ab1b428"
+content-hash = "8d558d9360fd3f579b5b533c58c764076ccec0b1dff2d55c3e67310ec31658bb"
diff --git a/pyproject.toml b/pyproject.toml
index 47d53418..784e23dc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,7 +28,7 @@ openpyxl = "^3.1.2"
[tool.poetry.group.linters.dependencies]
black = "24.4.2"
-ruff = "0.4.1"
+ruff = "0.4.2"
[tool.poetry.group.cli.dependencies]