Use "# noqa" instead of "#flake8: noqa"

"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".

Change-Id: I7859eab30563d0eb91c5f055d1b523173b562e54
Closes-bug: #1540254
This commit is contained in:
Chaozhe.Chen 2016-02-09 23:03:31 +08:00
parent d2ee01bfe4
commit 9e6b12e6b2

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2012 Rackspace
# flake8: noqa
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@ -17,7 +17,7 @@
"""
OpenStack Swift Python client binding.
"""
from .client import *
from .client import * # noqa
# At setup.py time, we haven't installed anything yet, so there
# is nothing that is able to set this version property. Squelching