mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 23:54:36 -05:00
Show a pretty markdown table in formatter ecosystem checks (#6496)
**Summary** The formatter ecosystem checks will now print a markdown table you can copy&paste into your PR description.  copied markdown: | project | similarity index | |--------------|------------------| | build | 0.75623 | | cpython | 0.75989 | | django | 0.99784 | | transformers | 0.99470 | | typeshed | 0.74853 | | warehouse | 0.99585 | | zulip | 0.99702 | raw markdown: ```markdown | project | similarity index | |--------------|------------------| | build | 0.75623 | | cpython | 0.75989 | | django | 0.99784 | | transformers | 0.99470 | | typeshed | 0.74853 | | warehouse | 0.99585 | | zulip | 0.99702 | ```
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -338,6 +338,6 @@ jobs:
|
||||
- name: "Formatter progress"
|
||||
run: scripts/formatter_ecosystem_checks.sh
|
||||
- name: "Github step summary"
|
||||
run: grep "similarity index" target/progress_projects_log.txt | sort > $GITHUB_STEP_SUMMARY
|
||||
run: cat target/progress_projects_stats.txt > $GITHUB_STEP_SUMMARY
|
||||
- name: "Remove checkouts from cache"
|
||||
run: rm -r target/progress_projects
|
||||
|
||||
Reference in New Issue
Block a user