From f04e314219ac116c8c35512f26f1b61191c7d9fe Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 29 Aug 2022 14:00:40 +0100 Subject: [PATCH] Remove F821 from the flake8 ignorelist (#13553) This is a useful check, and it doesn't seem to generate false positives anymore --- setup.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1405786c5536d..511f794474e7c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,9 +38,8 @@ exclude = # B007: Loop control variable not used within the loop body. # B011: Don't use assert False # B023: Function definition does not bind loop variable -# F821: Name not defined (generates false positives with error codes) # E741: Ambiguous variable name -extend-ignore = E203,E501,W601,E402,B006,B007,B011,B023,F821,E741 +extend-ignore = E203,E501,W601,E402,B006,B007,B011,B023,E741 [coverage:run] branch = true