[BE]: Add PYI files to ruff lintrunner (#107524)
Due to a bug with the lintrunner yaml, PYI files were not convered. This PR builds off #107519 covers all PYI files and adds one noqa to fix a B006 bugprone error.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107524
Approved by: https://github.com/ezyang