From 10c10b0990108e9d221093f681f0af51dcfe3ff4 Mon Sep 17 00:00:00 2001 From: Gerard Goossen Date: Thu, 3 Jan 2019 04:59:41 -0800 Subject: [PATCH] Ignore flake8 warning about whitespace before ':' (#15663) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15663 Ignore sometimes incorrect flake8 warning about whitespace before ':' See https://github.com/ambv/black/issues/315 Reviewed By: soumith Differential Revision: D13565818 fbshipit-source-id: 9d5ec2335899527ee71f4b505c00865a354e3bf0 --- .flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 8906fb29730..8510253ccec 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,4 @@ [flake8] max-line-length = 120 -ignore = E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504 +ignore = E203,E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504 exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,tools/amd_build/pyHIPIFY,torch/lib/include,torch/lib/tmp_install