Skip to content

Commit c95437a

Browse files
authored
⬆️ bump ruff to 0.8.5 (#396)
* ⬆️ bump `ruff` to `0.8.5` * 🚨 fix `UP006` error
1 parent 90583d7 commit c95437a

File tree

4 files changed

+47
-48
lines changed

4 files changed

+47
-48
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.4
58+
rev: v0.8.5
5959
hooks:
6060
- id: ruff
6161
args: [--fix, --show-fixes]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mdformat = [
4444
lint = [
4545
{include-group = "extras"},
4646
{include-group = "mdformat"},
47-
"ruff>=0.8.4",
47+
"ruff>=0.8.5",
4848
"sp-repo-review[cli]>=2024.8.19",
4949
]
5050
typecheck = [

scipy-stubs/interpolate/_fitpack_repro.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
from collections.abc import Callable
1+
from collections.abc import Callable, Generator
22
from typing import Any, Final, Literal, TypeAlias, type_check_only
3-
from typing_extensions import Generator
43

54
import numpy as np
65
import optype.numpy as onp

0 commit comments

Comments
 (0)