From 907c291877480b8c713d4a5dfd6887823a6af83a Mon Sep 17 00:00:00 2001 From: David Peter Date: Mon, 23 Jun 2025 13:08:11 +0200 Subject: [PATCH] [ty] Update mypy_primer, add two new projects (#18891) ## Summary Pull in latest changes to mypy_primer: https://github.com/hauntsaninja/mypy_primer/compare/01a7ca325f674433c58e02416a867178d1571128..e5f55447969d33ae3c7ccdb183e2a37101867270 --- .github/workflows/mypy_primer.yaml | 2 +- crates/ty_python_semantic/resources/primer/bad.txt | 1 + crates/ty_python_semantic/resources/primer/good.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mypy_primer.yaml b/.github/workflows/mypy_primer.yaml index 6db7492efc..2f14806124 100644 --- a/.github/workflows/mypy_primer.yaml +++ b/.github/workflows/mypy_primer.yaml @@ -70,7 +70,7 @@ jobs: 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@01a7ca325f674433c58e02416a867178d1571128" \ + --from="git+https://github.com/hauntsaninja/mypy_primer@e5f55447969d33ae3c7ccdb183e2a37101867270" \ mypy_primer \ --repo ruff \ --type-checker ty \ diff --git a/crates/ty_python_semantic/resources/primer/bad.txt b/crates/ty_python_semantic/resources/primer/bad.txt index f947eda262..f77cf40f4f 100644 --- a/crates/ty_python_semantic/resources/primer/bad.txt +++ b/crates/ty_python_semantic/resources/primer/bad.txt @@ -14,6 +14,7 @@ pandera # stack overflow pip # vendors packaging, see above pylint # cycle panics (self-recursive type alias) pyodide # too many cycle iterations +scikit-build-core # too many cycle iterations setuptools # vendors packaging, see above spack # slow, success, but mypy-primer hangs processing the output spark # too many iterations diff --git a/crates/ty_python_semantic/resources/primer/good.txt b/crates/ty_python_semantic/resources/primer/good.txt index a6e774fbad..8ba4aab531 100644 --- a/crates/ty_python_semantic/resources/primer/good.txt +++ b/crates/ty_python_semantic/resources/primer/good.txt @@ -108,6 +108,7 @@ static-frame stone strawberry streamlit +svcs sympy trio twine