diff --git a/tools/define_sanity/check.py b/tools/define_sanity/check.py index 4487b101fb9..aa2926f864f 100644 --- a/tools/define_sanity/check.py +++ b/tools/define_sanity/check.py @@ -51,7 +51,7 @@ number_of_defines = 0 if not on_github: print(blue(f"Running define sanity check outside of Github Actions.\nFor assistance, a '{output_file_name}' file will be generated at the root of your directory if any errors are detected.")) -for code_file in (glob.glob(parent_directory, recursive=True) + glob.glob(parent_directory_skyrat, recursive=True) + glob.glob(parent_directory_zubbers, recursive=True)): # BUBBER EDIT - Adds modular folders to check +for code_file in glob.glob(parent_directory, recursive=True): exempt_file = False for exempt_directory in excluded_files: if fnmatch.fnmatch(code_file, exempt_directory):