From 7fd5403495a8c142d86756bff638de050cdc8157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 22 Aug 2016 10:53:57 +0200 Subject: [PATCH] Ignore module imports not at top of file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In multiple places we need to set up import paths before importing modules. This Flake8 warning is just noise. Signed-off-by: Lubomír Sedlář --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6a9dd4b0..9a53e4a6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [flake8] exclude = doc/*,*.pyc,*.py~,*.in,*.spec,*.sh,*.rst,setup.py filename = *.py -ignore = E501 +ignore = E501,E402 [run] omit = tests/*