Skip to content

Commit 99abc24

Browse files
authored
⬆️ bump ruff to 0.9.0 (#412)
2 parents ed11ade + 752f65c commit 99abc24

File tree

4 files changed

+137
-137
lines changed

4 files changed

+137
-137
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ repos:
5555
- id: typos
5656

5757
- repo: https://github.com/astral-sh/ruff-pre-commit
58-
rev: v0.8.6
58+
rev: v0.9.0
5959
hooks:
6060
- id: ruff
6161
args: [--fix, --show-fixes]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ mdformat = [
4444
lint = [
4545
{include-group = "extras"},
4646
{include-group = "mdformat"},
47-
"ruff>=0.8.6",
47+
"ruff>=0.9.0",
4848
"sp-repo-review[cli]>=2024.8.19",
4949
]
5050
typecheck = [
5151
{include-group = "extras"},
5252
{include-group = "ci"},
5353
{include-group = "codegen"},
54-
"basedmypy[faster-cache]>=2.9.0",
54+
"basedmypy[faster-cache]>=2.9.1",
5555
"basedpyright>=1.23.2",
5656
]
5757
dev = [

scipy-stubs/cluster/hierarchy.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class _DendrogramResult(TypedDict):
7373
class ClusterWarning(UserWarning): ...
7474

7575
# NOTE: this can't be made generic, because mypy doesn't support cyclical generic types (classic mypy...)
76-
class ClusterNode: # noqa: PLW1641
76+
class ClusterNode:
7777
id: Final[int]
7878
left: Final[ClusterNode | None]
7979
right: Final[ClusterNode | None]

0 commit comments

Comments
 (0)