From 7e3c494b9419d3175481792d87e035dbfbbd5cc7 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 15 Apr 2025 13:49:30 +0200 Subject: [PATCH 1/3] MNT Fix bug introduced by ff78e25 to fix CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduced by this commit in #31015: 620b0ded MNT black → ruff format --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9fe670caef441..f8075e779c56b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,7 +34,7 @@ jobs: curl https://raw.githubusercontent.com/${{ github.repository }}/main/build_tools/shared.sh --retry 5 -o ./build_tools/shared.sh source build_tools/shared.sh # Include pytest compatibility with mypy - pip install pytest $(get_dep ruff min) $(get_dep mypy min) + pip install pytest $(get_dep ruff min) $(get_dep mypy min) cython-lint # we save the versions of the linters to be used in the error message later. python -c "from importlib.metadata import version; print(f\"ruff={version('ruff')}\")" >> /tmp/versions.txt python -c "from importlib.metadata import version; print(f\"mypy={version('mypy')}\")" >> /tmp/versions.txt From 639d6697a4761a9a4efa2e5673d3e2eeece5a718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Tue, 15 Apr 2025 14:06:50 +0200 Subject: [PATCH 2/3] [azure parallel] --- sklearn/_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sklearn/_config.py b/sklearn/_config.py index 05549c88a9ddc..e83133f70cf7b 100644 --- a/sklearn/_config.py +++ b/sklearn/_config.py @@ -3,6 +3,8 @@ # Authors: The scikit-learn developers # SPDX-License-Identifier: BSD-3-Clause +# asdf + import os import threading from contextlib import contextmanager as contextmanager From ec16786207318724189787312f0704841c36ef53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Tue, 15 Apr 2025 14:07:44 +0200 Subject: [PATCH 3/3] [azure parallel] remove unwanted change --- sklearn/_config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sklearn/_config.py b/sklearn/_config.py index e83133f70cf7b..05549c88a9ddc 100644 --- a/sklearn/_config.py +++ b/sklearn/_config.py @@ -3,8 +3,6 @@ # Authors: The scikit-learn developers # SPDX-License-Identifier: BSD-3-Clause -# asdf - import os import threading from contextlib import contextmanager as contextmanager