horizon/openstack_dashboard/dashboards/project/overview
Radomir Dopieralski 028332da4a Remove #noqa from most common imports and add them to import_exceptions
We have a lot of import with #noqa that is there to ignore h302,
because it's traditional to import and use a name directly, instead
of a whole module. This hides other errors and gives people the
impression that it's actually fine to import non-modules, you just
have to slap #noqa on those lines.

I went through the code and identified about a dozen names that are
most commonly imported this way. I remove the #noqa tag from them,
and added them to the list in import_exceptions.

I also removed a few unused imports that were revealed in the process.

Change-Id: I27afb8e2b1d4759ec974ded9464d8f010312ee78
2014-01-07 12:26:35 +01:00
..
templates/overview Handle the case no SimpleTenantUsage Nova extension 2013-10-08 22:22:35 +02:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
panel.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
tests.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
urls.py Fix django.conf.urls.defaults imports 2013-11-04 17:10:57 +11:00
views.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00