diff --git a/.github/workflows/code_coverage_disable_check.py b/.github/workflows/code_coverage_disable_check.py index 4a4fd756d0..1a55c3f720 100644 --- a/.github/workflows/code_coverage_disable_check.py +++ b/.github/workflows/code_coverage_disable_check.py @@ -88,8 +88,7 @@ def check_code_coverage(files_or_dirs): file_path = os.path.join(root, file_name) if has_code_coverage_disable(file_path): print( - f"""File {file_path} contains code coverage - disable statement.""" + f"""File {file_path} contains code coverage disable statement.""" ) code_coverage_found = True elif os.path.isfile(item): @@ -104,8 +103,7 @@ def check_code_coverage(files_or_dirs): ): if has_code_coverage_disable(item): print( - f"""File {item} contains code coverage disable - statement.""" + f"""File {item} contains code coverage disable statement. Please remove it and add the appropriate tests.""" ) code_coverage_found = True diff --git a/.github/workflows/eslint_disable_check.py b/.github/workflows/eslint_disable_check.py index ee17fcb220..a24a80949e 100644 --- a/.github/workflows/eslint_disable_check.py +++ b/.github/workflows/eslint_disable_check.py @@ -75,7 +75,7 @@ def check_eslint(files_or_directories): # If it's a file, directly check it if item.endswith(".ts") or item.endswith(".tsx"): if has_eslint_disable(item): - print(f"File {item} contains eslint-disable statement.") + print(f"File {item} contains eslint-disable statement. Please remove them and ensure the code adheres to the specified ESLint rules.") eslint_found = True elif os.path.isdir(item): # If it's a directory, walk through it and check all