mirror of https://github.com/astral-sh/ruff
[ty] Keep colorizing `mypy_primer` output (#21515)
## Summary After an update to `mypy_primer`, we now need to set the environment variable ourselves.
This commit is contained in:
parent
663f78e644
commit
e29f3ed0fe
|
|
@ -55,6 +55,7 @@ jobs:
|
|||
- name: Run mypy_primer
|
||||
env:
|
||||
PRIMER_SELECTOR: crates/ty_python_semantic/resources/primer/good.txt
|
||||
CLICOLOR_FORCE: "1"
|
||||
DIFF_FILE: mypy_primer.diff
|
||||
run: |
|
||||
cd ruff
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ cd ..
|
|||
echo "Project selector: ${PRIMER_SELECTOR}"
|
||||
# Allow the exit code to be 0 or 1, only fail for actual mypy_primer crashes/bugs
|
||||
uvx \
|
||||
--from="git+https://github.com/hauntsaninja/mypy_primer@089ac1da83cf26aee9c98de412b7eb10e20b2212" \
|
||||
--from="git+https://github.com/hauntsaninja/mypy_primer@a81360123447a9409ab72f6b4f9684c02a9768e7" \
|
||||
mypy_primer \
|
||||
--repo ruff \
|
||||
--type-checker ty \
|
||||
|
|
|
|||
Loading…
Reference in New Issue