Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell.
Signed-off-by: Shaun Case <warmsocks@gmail.com> Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
5479f5321a
commit
8b0ecbccf4
78 changed files with 151 additions and 151 deletions
|
@ -37,7 +37,7 @@ class CodeSizeComparison:
|
|||
"""
|
||||
old_revision: revision to compare against
|
||||
new_revision:
|
||||
result_dir: directory for comparision result
|
||||
result_dir: directory for comparison result
|
||||
"""
|
||||
self.repo_path = "."
|
||||
self.result_dir = os.path.abspath(result_dir)
|
||||
|
@ -140,7 +140,7 @@ class CodeSizeComparison:
|
|||
+ "-" + self.new_rev + ".csv"), "w")
|
||||
|
||||
res_file.write("file_name, this_size, old_size, change, change %\n")
|
||||
print("Generating comparision results.")
|
||||
print("Generating comparison results.")
|
||||
|
||||
old_ds = {}
|
||||
for line in old_file.readlines()[1:]:
|
||||
|
@ -199,7 +199,7 @@ def main():
|
|||
parser.add_argument(
|
||||
"-n", "--new-rev", type=str, default=None,
|
||||
help="new revision for comparison, default is the current work \
|
||||
directory, including uncommited changes."
|
||||
directory, including uncommitted changes."
|
||||
)
|
||||
comp_args = parser.parse_args()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue