Change lint from python2 -> python3 (#34107)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34107
Updates linter to only lint for python3 instead of linting for python2
Test Plan: good_testplan
Reviewed By: orionr
Differential Revision: D20205395
fbshipit-source-id: 1fa34e5fdf15f7aed96a66d2ce824a7337ee6218