Made tox -e pep8 passed. Also made git review work

Two elements to this: make the existing code pass, and skip the
api_strawman/ directory.

Change-Id: Ic85067bdd63337e135f054c9a28e46683c46656c
This commit is contained in:
Alex Gaynor 2014-01-28 09:18:37 -08:00
parent e0418241a3
commit fe57620045
7 changed files with 10 additions and 10 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/python-openstacksdk.git

View File

@ -16,4 +16,4 @@ import pbr.version
__version__ = pbr.version.VersionInfo(
'openstack').version_string()
'openstack').version_string()

View File

@ -10,4 +10,4 @@
# 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.
# under the License.

View File

@ -50,4 +50,4 @@ class TestCase(testtools.TestCase):
stderr = self.useFixture(fixtures.StringStream('stderr')).stream
self.useFixture(fixtures.MonkeyPatch('sys.stderr', stderr))
self.log_fixture = self.useFixture(fixtures.FakeLogger())
self.log_fixture = self.useFixture(fixtures.FakeLogger())

View File

@ -23,6 +23,4 @@ from openstack.tests import base
class TestOpenstack(base.TestCase):
def test_something(self):
pass
pass

View File

@ -19,4 +19,4 @@ import setuptools
setuptools.setup(
setup_requires=['pbr>=0.5.21,<1.0'],
pbr=True)
pbr=True)

View File

@ -27,8 +27,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,H803
builtins = _
exclude=.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