From c2fcd284c2f7a553a8caf27c9357fe99d448fffd Mon Sep 17 00:00:00 2001 From: Roxy <75404941+TealSeer@users.noreply.github.com> Date: Tue, 23 Jun 2026 18:06:01 -0400 Subject: [PATCH] fix define sanity --- tools/define_sanity/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):