From b3b0c8d51ed57104bcad3267c77bac9f5f16fc5f Mon Sep 17 00:00:00 2001 From: Yuming Zhu Date: Fri, 28 Feb 2020 00:39:57 +0800 Subject: [PATCH] flake8: ignore F812 rule for PY2 --- .flake8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.flake8 b/.flake8 index 1c4a908d..3b7e0b30 100644 --- a/.flake8 +++ b/.flake8 @@ -5,6 +5,8 @@ ignore = E266, # do not assign a lambda expression, use a def E731, + # [PY2] list comprehension redefines `name` from line `N` + F812, # line break after binary operator W504 max_line_length = 99