Some files missing newline at end of file
Add new line at end of files. Python code styling guide(pep8) require new line at end of file. But some files missing newline at end of file. When check rally project by code checking tool (ex flake 8), no new line error is reported.This patch add new line to error reported files. Change-Id: Ibca2d8e90d826d8e02522f2d574e0033621d34fd Closes-Bug: #1472454
This commit is contained in:
parent
29340dad4c
commit
a99fc83c09
@ -372,4 +372,4 @@ class FileTypeDict(ResourceType):
|
||||
with open(file_path, "r") as f:
|
||||
file_type_dict[file_path] = f.read()
|
||||
|
||||
return file_type_dict
|
||||
return file_type_dict
|
||||
|
@ -22,4 +22,4 @@ class FakeScenarioPlugin1(base.Scenario):
|
||||
@base.scenario()
|
||||
def list(self):
|
||||
"""Fake scenario."""
|
||||
pass
|
||||
pass
|
||||
|
@ -229,4 +229,4 @@ class KeystoneV3WrapperTestCase(test.TestCase, KeystoneWrapperTestBase):
|
||||
self.wrapped_client.remove_role("fake_role_id", "fake_user_id",
|
||||
"fake_project_id")
|
||||
self.client.roles.revoke.assert_called_once_with(
|
||||
"fake_role_id", user="fake_user_id", project="fake_project_id")
|
||||
"fake_role_id", user="fake_user_id", project="fake_project_id")
|
||||
|
Loading…
x
Reference in New Issue
Block a user