Sync hacking requirement with global requirements

Change-Id: I366e52e84105d319064ca29ed4aaf2b61b12e0cc
This commit is contained in:
Alex Gaynor 2014-06-10 18:52:10 -07:00
parent bf3b30987d
commit 7d8c633341
11 changed files with 10 additions and 45 deletions

View File

@ -11,6 +11,7 @@
# under the License. # under the License.
import abc import abc
import six import six

View File

@ -11,6 +11,7 @@
# under the License. # under the License.
import abc import abc
import six import six
from openstack.auth import base from openstack.auth import base

View File

@ -17,6 +17,7 @@
# limitations under the License. # limitations under the License.
import copy import copy
import six import six
from openstack import exceptions from openstack import exceptions

View File

@ -14,7 +14,7 @@ import abc
import collections import collections
import six 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 exceptions
from openstack import utils from openstack import utils

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -20,7 +20,7 @@ import httpretty
import mock import mock
import requests import requests
import six import six
from six.moves.urllib import parse as urlparse from six.moves.urllib import parse as urlparse # flake8: noqa
import testtools import testtools

View File

@ -12,12 +12,11 @@
import json import json
import logging import logging
import six
import fixtures import fixtures
import httpretty import httpretty
import requests import requests
import six
from openstack import exceptions from openstack import exceptions
from openstack.tests import base from openstack.tests import base

View File

@ -1,4 +1,4 @@
hacking>=0.0.8,<0.9 hacking>=0.9.1,<0.10
coverage>=3.6 coverage>=3.6
discover discover

View File

@ -22,8 +22,10 @@ commands = {posargs}
commands = python setup.py testr --coverage --testr-args='{posargs}' commands = python setup.py testr --coverage --testr-args='{posargs}'
[flake8] [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. # H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8. # E123, E125 skipped as they are invalid PEP-8.
show-source = True 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 exclude=api_strawman/,.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build