Update ruff to 0.11.8 (#153249)
Summary:
Fixes a ton of false negatives throughout the codebase. RUFF also properly validates NOQA comments now and most of the changes are fixing typos there or removing filewide flake8 suppressions that were also silencing ruff issues.
X-link: https://github.com/pytorch/pytorch/pull/153249
Approved by: https://github.com/cyyever, https://github.com/albanD, https://github.com/seemethere
Reviewed By: huydhn
Differential Revision: D74598311
fbshipit-source-id: 3fd7fb7c8b43e0a5ee7fa7814cf7e563b58d23b5
Author
generatedunixname499836121