Parcourir la source

Adds __all__ to celery package for static analyzers

Ask Solem il y a 12 ans
Parent
commit
244c63090c
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      celery/__init__.py

+ 6 - 0
celery/__init__.py

@@ -14,6 +14,12 @@ __author__ = 'Ask Solem'
 __contact__ = 'ask@celeryproject.org'
 __homepage__ = 'http://celeryproject.org'
 __docformat__ = 'restructuredtext'
+__all__ = [
+    'Celery', 'bugreport', 'shared_task', 'Task',
+    'current_app', 'current_task',
+    'chain', 'chord', 'chunks', 'group', 'subtask',
+    'xmap', 'xstarmap', 'uuid', 'VERSION', '__version__',
+]
 VERSION_BANNER = '%s (%s)' % (__version__, SERIES)
 
 # -eof meta-