Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow trailing ellipsis in
typing.TYPE_CHECKING
(#10413)
## Summary Trailing ellipses in objects defined in `typing.TYPE_CHECKING` might be meaningful (it might be declaring a stub). Thus, we should skip the `unnecessary-placeholder` (`PIE970`) rule in such contexts. Closes #10358. ## Test Plan `cargo nextest run`
- Loading branch information