8000 MAINT Replace ruff deprecated --show-source argument (#28792) · patrickkwang/scikit-learn@b0a044f · GitHub
[go: up one dir, main page]

Skip to content

Commit b0a044f

Browse files
authored
MAINT Replace ruff deprecated --show-source argument (scikit-learn#28792)
1 parent e27425f commit b0a044f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_tools/get_comment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_message(log_file, repo, pr_number, sha, run_id, details, versions):
117117
end="Problems detected by ruff",
118118
title="`ruff`",
119119
message=(
120-
"`ruff` detected issues. Please run `ruff --fix --show-sour 9B6B ce .` "
120+
"`ruff` detected issues. Please run `ruff --fix --output-format=full .` "
121121
"locally, fix the remaining issues, and push the changes. "
122122
"Here you can see the detected issues. Note that the installed "
123123
f"`ruff` version is `ruff={versions['ruff']}`."

build_tools/linting.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ else
2323
fi
2424

2525
echo -e "### Running ruff ###\n"
26-
ruff check --show-source .
26+
ruff check --output-format=full .
2727
status=$?
2828
if [[ $status -eq 0 ]]
2929
then

0 commit comments

Comments
 (0)
0