Skip to content

Fix plugins logic in split type checking#21252

Open
ilevkivskyi wants to merge 1 commit intopython:masterfrom
ilevkivskyi:fix-attrs-parallel
Open

Fix plugins logic in split type checking#21252
ilevkivskyi wants to merge 1 commit intopython:masterfrom
ilevkivskyi:fix-attrs-parallel

Conversation

@ilevkivskyi
Copy link
Copy Markdown
Member

Here I make handling of generated nodes in split (two-phase) type-checking the same as in single-phase checking. We may simplify this in the future, but there is no need to tie plugins handling logic to the parallel type checking.

I also cleanup an old hack in attrs plugin.

This is a follow-up for #21119. cc @JukkaL

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants