File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
crates/ruff_python_formatter/src/expression Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ impl FormatNodeRule<ExprSubscript> for FormatExprSubscript {
27
27
let dangling_comments = comments. dangling_comments ( item. as_any_node_ref ( ) ) ;
28
28
debug_assert ! (
29
29
dangling_comments. len( ) <= 1 ,
30
- "The subscript expression must have at most a single comment, the one after the bracket"
30
+ "A subscript expression can only have a single dangling comment, the one after the bracket"
31
31
) ;
32
32
33
33
if let NodeLevel :: Expression ( Some ( group_id) ) = f. context ( ) . node_level ( ) {
Original file line number Diff line number Diff line change 51
51
# for i in "$dir"/*/; do git -C "$i" switch main && git -C "$i" pull && echo "# $(basename "$i") $(git -C "$i" rev-parse HEAD)"; done
52
52
53
53
time cargo run --bin ruff_dev -- format-dev --stability-check --error-file " $target /progress_projects_errors.txt" \
54
- --multi-project " $dir " > " $target /progress_projects_report.txt"
54
+ --multi-project " $dir " > " $target /progress_projects_report.txt" || (
55
+ echo " Ecosystem check failed"
56
+ cat " $target /progress_projects_report.txt"
57
+ exit 1
58
+ )
55
59
grep " similarity index" " $target /progress_projects_report.txt" | sort
You can’t perform that action at this time.
0 commit comments