Fix #19491, crash when using enable_error_code value of wrong type in pyproject.toml by wyattscarpenter · Pull Request #19494 · python/mypy

added 3 commits

July 23, 2025 18:18

sterliakov

Co-authored-by: Stanislav Terliakov <50529348+sterliakov@users.noreply.github.com>

@pre-commit-ci

@wyattscarpenter

@pre-commit-ci

sterliakov

@wyattscarpenter

This was referenced

Jul 31, 2025

wyattscarpenter

@wyattscarpenter

Ah, this should be object, not Any, shouldn't it?

And while I'm at it, I can simplify the split regex

sterliakov

hauntsaninja

@wyattscarpenter @hauntsaninja

I'm committing this because it's very convenient through the web interface, but I will presumably have to make a second commit to change the test output that depends on this

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>

wyattscarpenter

@wyattscarpenter

…st change for friendlier error message