scripts: Remove extra trailing newlines from Python scripts

Fixing all instances so that it can be flagged in a pylint CI check
later.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-03-21 21:04:26 +01:00 committed by Kumar Gala
commit 5c8fd84d12
8 changed files with 0 additions and 11 deletions

View file

@ -307,4 +307,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -139,4 +139,3 @@ for lvl in ints_by_lvl:
cprint("return mask;") cprint("return mask;")
cprint("}") cprint("}")
cprint("") cprint("")

View file

@ -62,4 +62,3 @@ def copy_if_modified(src_path, dst_path):
src_file_path = os.path.join(root, src_file_name) src_file_path = os.path.join(root, src_file_name)
dst_file_path = os.path.join(dst_path + root[src_path_len:], src_file_name) dst_file_path = os.path.join(dst_path + root[src_path_len:], src_file_name)
copy_file_if_modified(src_file_path, dst_file_path) copy_file_if_modified(src_file_path, dst_file_path)

View file

@ -73,4 +73,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -72,4 +72,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -246,7 +246,3 @@ if __name__ == "__main__":
print(parser.parse(line)) print(parser.parse(line))
print(parse(line, local_env)) print(parse(line, local_env))

View file

@ -137,4 +137,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -56,4 +56,3 @@ def test_parse_remainder(test_case):
b._parse_remainder(test_case['r']) b._parse_remainder(test_case['r'])
assert b.args.source_dir == test_case['s'] assert b.args.source_dir == test_case['s']
assert b.args.cmake_opts == test_case['c'] assert b.args.cmake_opts == test_case['c']