Merge "flake8-import-order: Ensure to place project imports last"
This commit is contained in:
commit
cc71a5490f
@ -16,14 +16,13 @@ from django.template.defaultfilters import title
|
|||||||
from django.utils.translation import pgettext_lazy
|
from django.utils.translation import pgettext_lazy
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
from django.utils.translation import ungettext_lazy
|
from django.utils.translation import ungettext_lazy
|
||||||
|
from heatclient import exc
|
||||||
|
|
||||||
from horizon import exceptions
|
from horizon import exceptions
|
||||||
from horizon import messages
|
from horizon import messages
|
||||||
from horizon import tables
|
from horizon import tables
|
||||||
from horizon.utils import filters
|
from horizon.utils import filters
|
||||||
|
|
||||||
from heatclient import exc
|
|
||||||
|
|
||||||
from openstack_dashboard import api
|
from openstack_dashboard import api
|
||||||
from openstack_dashboard.dashboards.project.stacks import mappings
|
from openstack_dashboard.dashboards.project.stacks import mappings
|
||||||
|
|
||||||
|
@ -20,18 +20,16 @@ from django.core.urlresolvers import reverse
|
|||||||
from django import http
|
from django import http
|
||||||
from django.test.utils import override_settings
|
from django.test.utils import override_settings
|
||||||
from django.utils import html
|
from django.utils import html
|
||||||
|
from heatclient.common import template_format as hc_format
|
||||||
from mox3.mox import IsA
|
from mox3.mox import IsA
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from heatclient.common import template_format as hc_format
|
|
||||||
from openstack_dashboard import api
|
from openstack_dashboard import api
|
||||||
from openstack_dashboard.test import helpers as test
|
|
||||||
|
|
||||||
from openstack_dashboard.dashboards.project.stacks import api as project_api
|
from openstack_dashboard.dashboards.project.stacks import api as project_api
|
||||||
from openstack_dashboard.dashboards.project.stacks import forms
|
from openstack_dashboard.dashboards.project.stacks import forms
|
||||||
from openstack_dashboard.dashboards.project.stacks import mappings
|
from openstack_dashboard.dashboards.project.stacks import mappings
|
||||||
from openstack_dashboard.dashboards.project.stacks import tables
|
from openstack_dashboard.dashboards.project.stacks import tables
|
||||||
|
from openstack_dashboard.test import helpers as test
|
||||||
|
|
||||||
|
|
||||||
INDEX_TEMPLATE = 'horizon/common/_data_table_view.html'
|
INDEX_TEMPLATE = 'horizon/common/_data_table_view.html'
|
||||||
|
3
tox.ini
3
tox.ini
@ -143,7 +143,10 @@ ignore =
|
|||||||
# H904 Delay string interpolations at logging calls
|
# H904 Delay string interpolations at logging calls
|
||||||
enable-extensions=H203,H904
|
enable-extensions=H203,H904
|
||||||
max-complexity = 20
|
max-complexity = 20
|
||||||
|
|
||||||
|
# flake8-import-order configurations
|
||||||
import-order-style = pep8
|
import-order-style = pep8
|
||||||
|
application-import-names = horizon,openstack_dashboard
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
local-check-factory = horizon.hacking.checks.factory
|
local-check-factory = horizon.hacking.checks.factory
|
||||||
|
Loading…
Reference in New Issue
Block a user