Fix H306 errors

Change-Id: I1ff850e87979a05f5daec489d8a50008e2489e97
This commit is contained in:
Zhenguo Niu 2015-07-13 09:40:10 +08:00
parent ac6d9d1cd5
commit 79e6d9c136
5 changed files with 6 additions and 6 deletions

View File

@ -18,8 +18,8 @@ from django.utils.translation import ugettext_lazy as _
from horizon import tables
from mistraldashboard.default.utils import label
from mistraldashboard.default.utils import humantime
from mistraldashboard.default.utils import label
from mistraldashboard.default.utils import prettyprint

View File

@ -18,8 +18,8 @@ from django.utils.translation import ugettext_lazy as _
from horizon import tables
from mistraldashboard.default.utils import label
from mistraldashboard.default.utils import humantime
from mistraldashboard.default.utils import label
from mistraldashboard.default.utils import prettyprint

View File

@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _
from horizon import exceptions
from horizon import forms

View File

@ -20,12 +20,12 @@ from django.utils.translation import ugettext_lazy as _
from django.views import generic
from horizon import exceptions
from horizon import tables
from horizon import forms
from horizon import tables
from mistraldashboard import api
from mistraldashboard.workflows.tables import WorkflowsTable
from mistraldashboard.workflows.forms import ExecuteForm
from mistraldashboard.workflows.tables import WorkflowsTable
class IndexView(tables.DataTableView):

View File

@ -47,6 +47,6 @@ commands = oslo_debug_helper {posargs}
[flake8]
show-source = True
ignore = H101,H302,H803,H238,H306
ignore = H101,H302,H803,H238
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,.ropeproject,tools