horizon/openstack_dashboard
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
..
api Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
conf Adding RBAC policy system and checks for identity 2013-08-26 10:32:28 -06:00
dashboards Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
enabled Plugin-based dashboard configuration 2013-12-04 10:47:22 +01:00
local Merge "Add missing egress sec group for all tcp/udp/icmp" 2014-01-02 17:57:32 +00:00
locale Add extra extension file to makemessage command line 2013-10-15 09:24:16 +08:00
openstack Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
static Merge "Fix typo in class name" 2014-01-03 09:09:02 +00:00
templates Adding reusable Line Chart 2013-08-29 15:55:35 +02:00
test Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
usage Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
utils Plugin-based dashboard configuration 2013-12-04 10:47:22 +01:00
wsgi Updated the django.wsgi file for devstack. 2012-02-29 01:37:37 -08:00
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
context_processors.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
exceptions.py Update troveclient to 1.0.0 2013-11-25 08:25:32 -08:00
hooks.py Updated from global requirements 2013-08-08 13:16:35 -03:00
policy.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
settings.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
urls.py Remove #noqa from most common imports and add them to import_exceptions 2014-01-07 12:26:35 +01:00
views.py Small "H302 check" cleanup 2013-08-23 18:07:08 +04:00