pytorch
42d073a7 - Look for unqualified ignore in .pyi, not just .py (#57468)

Commit
3 years ago
Look for unqualified ignore in .pyi, not just .py (#57468) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57468 Test Plan: On the commit that expanded the lints but didn't remove the `# type: ignore` comment, the quick-checks job failed: - https://github.com/pytorch/pytorch/runs/2493713340 In contrast, on the tip of this PR, both the quick-checks job and the mypy job succeed: - https://github.com/pytorch/pytorch/runs/2493744907 - https://github.com/pytorch/pytorch/runs/2493746144 Reviewed By: driazati Differential Revision: D28153020 Pulled By: samestep fbshipit-source-id: 5e21bde38ab741e87b3e5f3d45e7e50456fd7ec9
Author
Parents
Loading