Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I72a882f2c33ea8c5b79625b3bb3e951204e0bba7
This commit is contained in:
parent
fe82094522
commit
fb33d01882
@ -12,11 +12,12 @@
|
|||||||
# implied.
|
# implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
__all__ = ['read_data']
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
__all__ = ['read_data']
|
||||||
|
|
||||||
DATA_DIR = os.path.dirname(__file__)
|
DATA_DIR = os.path.dirname(__file__)
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# implied.
|
# implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
__all__ = ['warn', 'AliasUsageWarning']
|
|
||||||
|
|
||||||
import textwrap
|
import textwrap
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
__all__ = ['warn', 'AliasUsageWarning']
|
||||||
|
|
||||||
|
|
||||||
def warn(warning, **kwargs):
|
def warn(warning, **kwargs):
|
||||||
"""Emit a warning that has builtin message text."""
|
"""Emit a warning that has builtin message text."""
|
||||||
|
@ -12,13 +12,14 @@
|
|||||||
# implied.
|
# implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
__all__ = ['ServiceTypes']
|
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
import os_service_types.data
|
import os_service_types.data
|
||||||
from os_service_types import exc
|
from os_service_types import exc
|
||||||
|
|
||||||
|
__all__ = ['ServiceTypes']
|
||||||
|
|
||||||
BUILTIN_DATA = os_service_types.data.read_data('service-types.json')
|
BUILTIN_DATA = os_service_types.data.read_data('service-types.json')
|
||||||
SERVICE_TYPES_URL = "https://service-types.openstack.org/service-types.json"
|
SERVICE_TYPES_URL = "https://service-types.openstack.org/service-types.json"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
hacking<0.13,>=0.12.0 # Apache-2.0
|
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
||||||
|
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||||
|
Loading…
Reference in New Issue
Block a user