Allow type ignores of PEP 695 constructs by hauntsaninja · Pull Request #16608 · python/mypy

@hauntsaninja

This is basically a pre-existing bug and affects other errors that
ASTConverter might raise, like merging overloads.

It could vaguely be nice to move all the set_file_ignored_lines into
fastparse, instead of BuildManager.parse_file. Could also clean up the
ignore_errors logic a little bit more.

Fixes python#16607

added 3 commits

December 3, 2023 22:50

@hauntsaninja

@pre-commit-ci

wesleywright pushed a commit that referenced this pull request

Dec 7, 2023
This is basically a pre-existing bug and affects other errors that
ASTConverter might raise, like merging overloads.

It could vaguely be nice to move all the set_file_ignored_lines into
fastparse, instead of BuildManager.parse_file. Could also clean up the
ignore_errors logic a little bit more.

Fixes #16607