scripts: gen_gcov_files.py: PEP 8 style fixes
Fix PEP 8 coding style issues reported by pycodestyle.
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
diff --git a/scripts/gen_gcov_files.py b/scripts/gen_gcov_files.py
index 10c2f2f..ada42fc 100755
--- a/scripts/gen_gcov_files.py
+++ b/scripts/gen_gcov_files.py
@@ -13,6 +13,7 @@
import os
import re
+
def retrieve_data(input_file):
extracted_coverage_info = {}
capture_data = False
@@ -33,12 +34,13 @@
file_name = line.split("<")[0][1:]
# Remove the trailing new line char
hex_dump = line.split("<")[1][:-1]
- extracted_coverage_info.update({file_name:hex_dump})
+ extracted_coverage_info.update({file_name: hex_dump})
if not reached_end:
- print("incomplete data captured from %s" %input_file)
+ print("incomplete data captured from %s" % input_file)
return extracted_coverage_info
+
def create_gcda_files(extracted_coverage_info):
if args.verbose:
print("Generating gcda files")
@@ -71,7 +73,6 @@
args = parser.parse_args()
-
def main():
parse_args()
input_file = args.input