add some PLR pylint checks and exclusions to ruff (#114519)
Summary:
Add a couple of additional checks and exclusions
X-link: https://github.com/pytorch/pytorch/pull/114519
Approved by: https://github.com/jansel
Reviewed By: clee2000
Differential Revision: D51644747
fbshipit-source-id: 3c38834cfc9233b9abe4d851437f2c764df66604