Sync hacking requirement with global requirements
Change-Id: I366e52e84105d319064ca29ed4aaf2b61b12e0cc
This commit is contained in:
parent
bf3b30987d
commit
7d8c633341
@ -11,6 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
import abc
|
||||
|
||||
import six
|
||||
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
import abc
|
||||
|
||||
import six
|
||||
|
||||
from openstack.auth import base
|
||||
|
@ -17,6 +17,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import six
|
||||
|
||||
from openstack import exceptions
|
||||
|
@ -14,7 +14,7 @@ import abc
|
||||
import collections
|
||||
|
||||
import six
|
||||
from six.moves.urllib import parse as url_parse
|
||||
from six.moves.urllib import parse as url_parse # flake8: noqa
|
||||
|
||||
from openstack import exceptions
|
||||
from openstack import utils
|
||||
|
@ -1,13 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# 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
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
@ -1,13 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# 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
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
@ -1,13 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# 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
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
@ -20,7 +20,7 @@ import httpretty
|
||||
import mock
|
||||
import requests
|
||||
import six
|
||||
from six.moves.urllib import parse as urlparse
|
||||
from six.moves.urllib import parse as urlparse # flake8: noqa
|
||||
import testtools
|
||||
|
||||
|
||||
|
@ -12,12 +12,11 @@
|
||||
|
||||
import json
|
||||
import logging
|
||||
import six
|
||||
|
||||
import fixtures
|
||||
import httpretty
|
||||
|
||||
import requests
|
||||
import six
|
||||
|
||||
from openstack import exceptions
|
||||
from openstack.tests import base
|
||||
|
@ -1,4 +1,4 @@
|
||||
hacking>=0.0.8,<0.9
|
||||
hacking>=0.9.1,<0.10
|
||||
|
||||
coverage>=3.6
|
||||
discover
|
||||
|
4
tox.ini
4
tox.ini
@ -22,8 +22,10 @@ commands = {posargs}
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[flake8]
|
||||
# H404, H405 are docstring rules that were not followed at the time of their
|
||||
# addition, feel free to fix
|
||||
# H803 skipped on purpose per list discussion.
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
show-source = True
|
||||
ignore = E123,E125,H803
|
||||
ignore = E123,E125,H404,H405,H803
|
||||
exclude=api_strawman/,.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user