Re-add empty lines that were accidentally omitted in the previous commit.
Signed-off-by: Aditya Deshpande <aditya.deshpande@arm.com>
diff --git a/tests/scripts/check_names.py b/tests/scripts/check_names.py
index df53aa0..8c08e5c 100755
--- a/tests/scripts/check_names.py
+++ b/tests/scripts/check_names.py
@@ -323,9 +323,11 @@
While the check_names script is designed only for use on UNIX/macOS
(due to nm), this function alone will work fine on Windows even with
forward slashes in the wildcard.
+
Args:
* include_wildcards: a List of shell-style wildcards to match filepaths.
* exclude_wildcards: a List of shell-style wildcards to exclude.
+
Returns:
* inc_files: A List of relative filepaths for included files.
* exc_files: A List of relative filepaths for excluded files.
@@ -350,9 +352,11 @@
While the check_names script is designed only for use on UNIX/macOS
(due to nm), this function alone will work fine on Windows even with
forward slashes in the wildcard.
+
Args:
* include_wildcards: a List of shell-style wildcards to match filepaths.
* exclude_wildcards: a List of shell-style wildcards to exclude.
+
Returns a List of relative filepaths.
"""
accumulator = set()
@@ -363,7 +367,6 @@
return list(path for path in accumulator
if not self.is_file_excluded(path, exclude_wildcards))
-
def parse_macros(self, include, exclude=None):
"""
Parse all macros defined by #define preprocessor directives.
@@ -632,9 +635,11 @@
identifier is declared, based on some regex and heuristics. Highly
dependent on formatting style. Identifiers in excluded files are still
parsed
+
Args:
* include: A List of glob expressions to look for files through.
* exclude: A List of glob expressions for excluding files.
+
Returns: a Tuple of two Lists of Match objects with identifiers.
* included_identifiers: A List of Match objects with identifiers from
included files.
@@ -812,6 +817,7 @@
Perform a check that all detected symbols in the library object files
are properly declared in headers.
Assumes parse_names_in_source() was called before this.
+
Returns the number of problems that need fixing.
"""
problems = []