From 15ff1cd28bf7e14096512e82abc358d514ded2cf Mon Sep 17 00:00:00 2001 From: Yuanyuan Chen Date: Sun, 19 Oct 2025 17:51:09 +0000 Subject: [PATCH] Remove E721 suppression in flake8 (#165855) Currently all files pass the E721 check. Pull Request resolved: https://github.com/pytorch/pytorch/pull/165855 Approved by: https://github.com/albanD --- .flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index aff8849fa6d4..937234edb403 100644 --- a/.flake8 +++ b/.flake8 @@ -7,7 +7,7 @@ max-line-length = 120 # C408 ignored because we like the dict keyword argument syntax # E501 is not flexible enough, we're using B950 instead ignore = - E203,E305,E402,E501,E704,E721,E741,F405,F841,F999,W503,W504,C408,E302,W291,E303,F824, + E203,E305,E402,E501,E704,E741,F405,F841,F999,W503,W504,C408,E302,W291,E303,F824, # shebang has extra meaning in fbcode lints, so I think it's not worth trying # to line this up with executable bit EXE001,