8000 MAINT Pin the ruff version on CI linters (#29359) · scikit-learn/scikit-learn@619a1c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 619a1c1

Browse files
authored
MAINT Pin the ruff version on CI linters (#29359)
1 parent b679062 commit 619a1c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
command: |
1212
source build_tools/shared.sh
1313
# Include pytest compatibility with mypy
14-
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
14+
pip install pytest $(get_dep ruff min) $(get_dep mypy min) $(get_dep black min) cython-lint
1515
- run:
1616
name: linting
1717
command: ./build_tools/linting.sh

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
source build_tools/shared.sh
3535
# Include pytest compatibility with mypy
36-
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
36+
pip install pytest $(get_dep ruff min) $(get_dep mypy min) $(get_dep black min) cython-lint
3737
# we save the versions of the linters to be used in the error message later.
3838
python -c "from importlib.metadata import version; print(f\"ruff={version('ruff')}\")" >> /tmp/versions.txt
3939
python -c "from importlib.metadata import version; print(f\"mypy={version('mypy')}\")" >> /tmp/versions.txt

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- bash: |
3636
source build_tools/shared.sh
3737
# Include pytest compatibility with mypy
38-
pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint
38+
pip install pytest $(get_dep ruff min) $(get_dep mypy min) $(get_dep black min) cython-lint
3939
displayName: Install linters
4040
- bash: |
4141
./build_tools/linting.sh

0 commit comments

Comments
 (0)
0