From f5a71f977d07ca46ffc5fd4627b82b367bcd4d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20H=C3=B6chenberger?= Date: Sat, 11 Jul 2020 21:08:33 +0200 Subject: [PATCH] Ignore flake8 E741 (ambiguous variable name) Running flake8 on master gives me: ./tutorials/source-modeling/plot_background_freesurfer_mne.py:133:22: E741 ambiguous variable name 'I' I don't think this rule is very useful (as we'll spot badly-named variables during the code review anyway), so this PR disables it. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2de51aa2e95..94a9f943ef3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,7 +16,7 @@ doc-files = doc [flake8] exclude = __init__.py,*externals*,constants.py,fixes.py,resources.py -ignore = W503,W504,I100,I101,I201,N806,E201,E202,E221,E222,E241 +ignore = W503,W504,I100,I101,I201,N806,E201,E202,E221,E222,E241,E741 # We add A for the array-spacing plugin, and ignore the E ones it covers above select = A,E,F,W,C