mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix quicklints (#72256)
Summary: Regression introduced by https://github.com/pytorch/pytorch/pull/71854 Pull Request resolved: https://github.com/pytorch/pytorch/pull/72256 Reviewed By: dagitses Differential Revision: D33978449 Pulled By: malfet fbshipit-source-id: 32c99cc95f0e1011a5d241875d47a78f6c869e0e (cherry picked from commit ffa0aa8530c5ca8e0a17634d6e3de0c88e674ed6)
This commit is contained in:
committed by
PyTorch MergeBot
parent
0bb3158eae
commit
b26801276f
@ -359,7 +359,7 @@ class TestStaticModule(TestCase):
|
||||
torch.testing.assert_close(o_ref[i], o_test[i])
|
||||
|
||||
def test_create_object(self):
|
||||
class Foo: # noqa
|
||||
class Foo: # noqa: B903
|
||||
def __init__(self, x: torch.Tensor) -> None:
|
||||
self.x = x
|
||||
|
||||
|
Reference in New Issue
Block a user