Update hacking version to latest

Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I7d0661b59684271d08e240299a2a23a6d16da95d
This commit is contained in:
jacky06 2019-01-04 23:26:17 +08:00
parent d40e47b452
commit c9eff7caf2
2 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
hacking>=1.1.0,<1.2.0 # Apache-2.0
coverage>=3.6
python-subunit>=0.0.18

View File

@ -12,6 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import json
import logging
import tempfile
from horizon.utils.memoized import memoized
from keystoneauth1.identity.generic.token import Token
from keystoneauth1.session import Session
from openstack_dashboard.api import base
from vitrageclient import client as vitrage_client
"""
https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html
"""
@ -22,15 +32,6 @@ https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html
While interactions with the service can be handled in the views.py,
isolating the logic is an established pattern in Horizon.
"""
from horizon.utils.memoized import memoized # noqa
import json
from keystoneauth1.identity.generic.token import Token
from keystoneauth1.session import Session
from openstack_dashboard.api import base
import tempfile
from vitrageclient import client as vitrage_client
import logging
LOG = logging.getLogger(__name__)