From da91bd0073a77844a621be772d2a7baf2089cfbb Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Thu, 28 Mar 2019 17:44:09 -0700 Subject: [PATCH] Ignore some new flake8 warnings (#6602) --- setup.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 8302cc98c41a..0e9ddce52b5e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,9 @@ exclude = # B3??: Python 3 compatibility warnings # B006: use of mutable defaults in function signatures # B007: Loop control variable not used within the loop body. -ignore = E251,E128,F401,W601,E701,W503,W504,E704,E402,B3,B006,B007 +# B011: Don't use assert False +# B009: Don't use getattr with constant strings (FIXME) +ignore = E251,E128,F401,W601,E701,W503,W504,E704,E402,B3,B006,B007,B011,B009 [coverage:run] branch = true