[BE] Fix flake8 B027 errors - missing abstractmethod decorator (#100715)

Enables B027 and applies fixes by adding abstract method decorators. Autofix generated by ruff master.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100715
Approved by: https://github.com/ezyang
This commit is contained in:
Aaron Gokaslan
2023-05-09 17:24:14 +00:00
committed by PyTorch MergeBot
parent bd18225c04
commit 8769fb854d
13 changed files with 11 additions and 18 deletions

View File

@ -14,7 +14,7 @@ ignore =
# to line this up with executable bit
EXE001,
# these ignores are from flake8-bugbear; please fix!
B007,B008,B017,B019,B020,B023,B024,B026,B027,B028,B903,B904,B905,B906,B907
B007,B008,B017,B019,B020,B023,B024,B026,B028,B903,B904,B905,B906,B907
# these ignores are from flake8-comprehensions; please fix!
C407,
# these ignores are from flake8-logging-format; please fix!