From 8a375189eaf42c942fa5868b159955b63cb0be81 Mon Sep 17 00:00:00 2001 From: Michael Suo Date: Tue, 7 May 2019 16:25:46 -0700 Subject: [PATCH] Remove flake8 E303 (too many blank lines) (#20225) Summary: similar to too few blank lines, I feel like this is not important enough to warrant breaking signal for all linters when it's violated. Pull Request resolved: https://github.com/pytorch/pytorch/pull/20225 Differential Revision: D15243480 Pulled By: suo fbshipit-source-id: 37cdc18daf09e07081e42b69c72d331d81660217 --- .flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 7669fea6a8b3..01f5e77bdef5 100644 --- a/.flake8 +++ b/.flake8 @@ -4,7 +4,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,E721,E741,F403,F405,F821,F841,F999,W503,W504,C408,E302,W291, + E203,E305,E402,E501,E721,E741,F403,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303, # these ignores are from flake8-bugbear; please fix! B007,B008, # these ignores are from flake8-comprehensions; please fix!