summaryrefslogtreecommitdiff
path: root/horizon/__init__.py
diff options
context:
space:
mode:
authorMatthias Runge <mrunge@redhat.com>2013-06-06 13:59:32 +0200
committerMatthias Runge <mrunge@redhat.com>2013-06-13 07:51:10 +0200
commit4ac70a732a8671b85328ad0060fe9af3db854004 (patch)
tree901a608e703c6135c33ce6f7cc59d158ee3a509c /horizon/__init__.py
parent5efdf6e87a043d703076978868f773664d0ff186 (diff)
downloadhorizon-4ac70a732a8671b85328ad0060fe9af3db854004.tar.gz
remove unused imports
In the move to make flake8 tests stricter, we need a code cleanup earlier. This removes all unused imports and also enables tests to prevent them for the future. This patch also includes the checks on __init__.py files. Change-Id: I34055803f7c4726682ac6fb95cc5b50ba761fec8 Fixes: bug 1188134
Diffstat (limited to 'horizon/__init__.py')
-rw-r--r--horizon/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/horizon/__init__.py b/horizon/__init__.py
index 01b51d660..1f065ab75 100644
--- a/horizon/__init__.py
+++ b/horizon/__init__.py
@@ -47,3 +47,8 @@ if Horizon:
get_default_dashboard = Horizon.get_default_dashboard
get_dashboards = Horizon.get_dashboards
urls = Horizon._lazy_urls
+
+# silence flake8 about unused imports here:
+assert Dashboard
+assert Panel
+assert PanelGroup