Commit fa65250
committed
Ensure errors persist after dmypy update
Before this change, if a module was removed with `update` in the
`FineGrainedBuildManager`, then some errors would not re-appear.
This change ensures that three types of error are maintained when
running `reprocess_nodes`:
- possibly undefined vars
- unused ignores
- ignores without codes
By adding targets to ErrorInfos, this also fixes an issue where unused
ignore and ignores without codes errors didn't get re-processed when
they were the only issue in the file.
Fixes #96551 parent 6094fc4 commit fa65250
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| 671 | + | |
| 672 | + | |
671 | 673 | | |
672 | 674 | | |
673 | 675 | | |
| |||
720 | 722 | | |
721 | 723 | | |
722 | 724 | | |
| 725 | + | |
| 726 | + | |
723 | 727 | | |
724 | 728 | | |
725 | 729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
1030 | 1034 | | |
1031 | 1035 | | |
1032 | 1036 | | |
| |||
0 commit comments