__init__: Better support introspection
PEP8: """ To better support introspection, modules should explicitly declare the names in their public API using the __all__ attribute. """ reported by flake8: ./kas/__init__.py:26:1: F401 '.__version__.__version__' imported but unused ./kas/__init__.py:27:1: F401 '.__version__.__file_version__' imported but unused ./kas/__init__.py:27:1: F401 '.__version__.__compatible_file_version__' imported but unused ./kas/__init__.py:28:1: F401 '.configschema.CONFIGSCHEMA' imported but unused Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
This commit is contained in:
parent
e24f8cff7c
commit
294d4df286
@ -29,3 +29,6 @@ from .configschema import CONFIGSCHEMA
|
|||||||
|
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__copyright__ = 'Copyright (c) Siemens AG, 2017-2018'
|
__copyright__ = 'Copyright (c) Siemens AG, 2017-2018'
|
||||||
|
|
||||||
|
__all__ = ['__version__', '__file_version__',
|
||||||
|
'__compatible_file_version__', 'CONFIGSCHEMA']
|
||||||
|
Loading…
Reference in New Issue
Block a user