Skip to content

Commit a15578d

Browse files
MNT Avoid pre-commit failures (scikit-learn#31276)
1 parent 7db1015 commit a15578d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.11.2
10+
rev: v0.11.7
1111
hooks:
1212
- id: ruff
1313
args: ["--fix", "--output-format=full"]
@@ -19,7 +19,7 @@ repos:
1919
files: sklearn/
2020
additional_dependencies: [pytest==6.2.4]
2121
- repo: https://github.com/MarcoGorelli/cython-lint
22-
rev: v0.15.0
22+
rev: v0.16.6
2323
hooks:
2424
# TODO: add the double-quote-cython-strings hook when it's usability has improved:
2525
# possibility to pass a directory and use it as a check instead of auto-formatter.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
- :func:`sklearn.utils.extmath.randomized_svd` now support Array API compatible inputs.
2-
By :user:`Connor Lane <clane9>` and :user:`Jérémie du Boisberranger <jeremiedbb>`.
2+
By :user:`Connor Lane <clane9>` and :user:`Jérémie du Boisberranger <jeremiedbb>`.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
- :func:`inspection.partial_dependence` now raises an informative error when passing
22
an empty list as the `categorical_features` parameter. `None` should be used instead
33
to indicate that no categorical features are present.
4-
By :user:`Pedro Lopes <pedroL0pes>`.
4+
By :user:`Pedro Lopes <pedroL0pes>`.

examples/release_highlights/plot_release_highlights_1_1_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: CPY001, E501
1+
# ruff: noqa: CPY001
22
"""
33
=======================================
44
Release Highlights for scikit-learn 1.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ tests = [
8383
"pandas>=1.4.0",
8484
"pytest>=7.1.2",
8585
"pytest-cov>=2.9.0",
86-
"ruff>=0.11.2",
86+
"ruff>=0.11.7",
8787
"mypy>=1.15",
8888
"pyamg>=4.2.1",
8989
"polars>=0.20.30",

sklearn/_min_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"memory_profiler": ("0.57.0", "benchmark, docs"),
3333
"pytest": (PYTEST_MIN_VERSION, "tests"),
3434
"pytest-cov": ("2.9.0", "tests"),
35-
"ruff": ("0.11.2", "tests"),
35+
"ruff": ("0.11.7", "tests"),
3636
"mypy": ("1.15", "tests"),
3737
"pyamg": ("4.2.1", "tests"),
3838
"polars": ("0.20.30", "docs, tests"),

0 commit comments

Comments
 (0)