From 46c7d6e38ca5c70f943b14a4d6692139d77101fd Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 7 Dec 2018 09:48:42 +0100 Subject: [PATCH] kas: Better support introspection PEP8: """ To better support introspection, modules should explicitly declare the names in their public API using the __all__ attribute. """ flake8 reports ./kas/kas.py:51:1: F401 '.build' imported but unused ./kas/kas.py:52:1: F401 '.shell' imported but unused Signed-off-by: Daniel Wagner --- kas/kas.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kas/kas.py b/kas/kas.py index 9abbad0..b3c8da1 100644 --- a/kas/kas.py +++ b/kas/kas.py @@ -51,6 +51,8 @@ from .libkas import kasplugin from . import build from . import shell +__all__ = ['build', 'shell'] + __license__ = 'MIT' __copyright__ = 'Copyright (c) Siemens AG, 2017-2018'