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:
parent
48ee3ee837
commit
5c8fd84d12
8 changed files with 0 additions and 11 deletions
|
@ -307,4 +307,3 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
@ -139,4 +139,3 @@ for lvl in ints_by_lvl:
|
||||||
cprint("return mask;")
|
cprint("return mask;")
|
||||||
cprint("}")
|
cprint("}")
|
||||||
cprint("")
|
cprint("")
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -73,4 +73,3 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
@ -72,4 +72,3 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
@ -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))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -137,4 +137,3 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
@ -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']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue