From a24132173530f926b3ab569e4773800461d71e0d Mon Sep 17 00:00:00 2001 From: David Peter Date: Wed, 23 Apr 2025 10:57:11 +0200 Subject: [PATCH] [red-knot] mypy_primer: add strawberry, print compilation errors to stderr (#17578) ## Summary mypy_primer changes included here: https://github.com/hauntsaninja/mypy_primer/compare/ebaa9fd27b51a278873b63676fd25490cec6823b..4c22d192a456e27badf85b3ea0f830707375d2b7 - Add strawberry as a `good.txt` project (was previously included in our fork) - Print Red Knot compilation errors to stderr (thanks @MichaReiser) --- .github/workflows/mypy_primer.yaml | 2 +- crates/red_knot_python_semantic/resources/primer/good.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mypy_primer.yaml b/.github/workflows/mypy_primer.yaml index dab2bd4c84..acf975c30a 100644 --- a/.github/workflows/mypy_primer.yaml +++ b/.github/workflows/mypy_primer.yaml @@ -46,7 +46,7 @@ jobs: - name: Install mypy_primer run: | - uv tool install "git+https://github.com/hauntsaninja/mypy_primer@ebaa9fd27b51a278873b63676fd25490cec6823b" + uv tool install "git+https://github.com/hauntsaninja/mypy_primer@4c22d192a456e27badf85b3ea0f830707375d2b7" - name: Run mypy_primer shell: bash diff --git a/crates/red_knot_python_semantic/resources/primer/good.txt b/crates/red_knot_python_semantic/resources/primer/good.txt index 2c7a36665a..86cec204df 100644 --- a/crates/red_knot_python_semantic/resources/primer/good.txt +++ b/crates/red_knot_python_semantic/resources/primer/good.txt @@ -96,6 +96,7 @@ speedrun.com_global_scoreboard_webapp starlette static-frame stone +strawberry tornado twine typeshed-stats