From 96b966297e2c31a3ef2d59f61c0f491487e025e9 Mon Sep 17 00:00:00 2001 From: Michael Suo Date: Tue, 23 Apr 2019 14:48:18 -0700 Subject: [PATCH] disable flake8 E302 (two blank lines) (#19634) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19634 ghimport-source-id: 68b11ac3c19daf8df3bbf11e6181e9450899e90a Differential Revision: D15053466 Pulled By: suo fbshipit-source-id: 09d7859aa2059fc9eb3b47fa62467537bab40e05 --- .flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 11dacf6b8aa..1ca4495102e 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, + E203,E305,E402,E501,E721,E741,F403,F405,F821,F841,F999,W503,W504,C408,E302, # these ignores are from flake8-bugbear; please fix! B007,B008, # these ignores are from flake8-comprehensions; please fix!