Skip to content

Commit

Permalink
⬆️ bump ruff to 0.9.0 (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham authored Jan 9, 2025
2 parents ed11ade + 752f65c commit 99abc24
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ repos:
- id: typos

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.0
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ mdformat = [
lint = [
{include-group = "extras"},
{include-group = "mdformat"},
"ruff>=0.8.6",
"ruff>=0.9.0",
"sp-repo-review[cli]>=2024.8.19",
]
typecheck = [
{include-group = "extras"},
{include-group = "ci"},
{include-group = "codegen"},
"basedmypy[faster-cache]>=2.9.0",
"basedmypy[faster-cache]>=2.9.1",
"basedpyright>=1.23.2",
]
dev = [
Expand Down
2 changes: 1 addition & 1 deletion scipy-stubs/cluster/hierarchy.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class _DendrogramResult(TypedDict):
class ClusterWarning(UserWarning): ...

# NOTE: this can't be made generic, because mypy doesn't support cyclical generic types (classic mypy...)
class ClusterNode: # noqa: PLW1641
class ClusterNode:
id: Final[int]
left: Final[ClusterNode | None]
right: Final[ClusterNode | None]
Expand Down
Loading

0 comments on commit 99abc24

Please sign in to comment.