From caafc9aa6d81c66263cd1c191d9c82abaa2d0f2a Mon Sep 17 00:00:00 2001
From: caron <j.caron@fz-juelich.de>
Date: Tue, 5 Nov 2019 08:47:23 +0100
Subject: [PATCH] Brute force solution via noqa...

---
 pyramid/magcreator/__init__.py | 2 +-
 setup.cfg                      | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pyramid/magcreator/__init__.py b/pyramid/magcreator/__init__.py
index a5d686e..b6b0985 100644
--- a/pyramid/magcreator/__init__.py
+++ b/pyramid/magcreator/__init__.py
@@ -6,7 +6,7 @@
 
 from . import shapes
 from . import examples
-from .magcreator import *
+from .magcreator import *  # noqa: F403  # TODO: Why is noqa still necessary? It's in setup.cfg :-(!
 
 __all__ = ['shapes', 'examples']
 __all__.extend(magcreator.__all__)
diff --git a/setup.cfg b/setup.cfg
index c9950e9..6ae7592 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -122,5 +122,7 @@ flake8-ignore =
     pyramid/__init__.py F401  # module imported but unused
     pyramid/__init__.py F403  # 'from module import *' used; unable to detect undefined names
     pyramid/__init__.py F405  # Name may be undefined, or defined from star imports: module
-    pyramid/magcreator/__init__.py F401,F403,F405  # same as above
+    pyramid/magcreator/__init__.py F401  # same as above
+    pyramid/magcreator/__init__.py F403  # same as above
+    pyramid/magcreator/__init__.py F405  # same as above
     #doc/conf.py ALL  # TODO: delete?
-- 
GitLab