File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5555 - name : Run mypy_primer
5656 env :
5757 PRIMER_SELECTOR : crates/ty_python_semantic/resources/primer/good.txt
58+ CLICOLOR_FORCE : " 1"
5859 DIFF_FILE : mypy_primer.diff
5960 run : |
6061 cd ruff
Original file line number Diff line number Diff line change 2020echo " Project selector: ${PRIMER_SELECTOR} "
2121# Allow the exit code to be 0 or 1, only fail for actual mypy_primer crashes/bugs
2222uvx \
23- --from=" git+https://github.com/hauntsaninja/mypy_primer@ab5d30e2d4ecdaf7d6cc89395c7130143d6d3c82 " \
23+ --from=" git+https://github.com/hauntsaninja/mypy_primer@a81360123447a9409ab72f6b4f9684c02a9768e7 " \
2424 mypy_primer \
2525 --repo ruff \
2626 --type-checker ty \
3434# Output diff with ANSI color codes
3535cat " ${DIFF_FILE} "
3636
37- # Remove ANSI color codes before uploading
38- sed -ie ' s/\x1b\[[0-9;]*m//g' " ${DIFF_FILE} "
37+ # Remove ANSI color codes and ANSI hyperlinks before uploading
38+ sed -ie ' s/\x1b\[[0-9;]*m//g; s/\x1b]8;;[^\x1b]*\x1b\\//g ' " ${DIFF_FILE} "
You can’t perform that action at this time.
0 commit comments