From fdfb51b59593d117498b6bf7a9f636cfb73f93d2 Mon Sep 17 00:00:00 2001 From: David Peter Date: Fri, 5 Sep 2025 14:17:07 +0200 Subject: [PATCH] [ty] Update mypy_primer, add egglog-python project (#20078) Now that https://github.com/astral-sh/ruff/pull/20263 is merged, we can update mypy_primer and add the new `egglog-python` project to `good.txt`. The ecosystem-analyzer run shows that we now add 1,356 diagnostics (where we had over 5,000 previously, due to the unsupported project layout). --- crates/ty_python_semantic/resources/primer/good.txt | 1 + scripts/mypy_primer.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/resources/primer/good.txt b/crates/ty_python_semantic/resources/primer/good.txt index 2c1694edd9..cfef1c11d4 100644 --- a/crates/ty_python_semantic/resources/primer/good.txt +++ b/crates/ty_python_semantic/resources/primer/good.txt @@ -39,6 +39,7 @@ django-stubs downforeveryone dragonchain dulwich +egglog-python flake8 flake8-pyi freqtrade diff --git a/scripts/mypy_primer.sh b/scripts/mypy_primer.sh index 05b9bc5ac7..df0648d90c 100755 --- a/scripts/mypy_primer.sh +++ b/scripts/mypy_primer.sh @@ -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@a3798a3d7b8470603e650179b0f82deb2154364d" \ + --from="git+https://github.com/hauntsaninja/mypy_primer@830b80cb00dc8ffee20a7ddcad8d6a13b09c18ed" \ mypy_primer \ --repo ruff \ --type-checker ty \