Skip to content

Commit cabd2fd

Browse files
committed
Cleanup based on missed review from #101
1 parent 99eb63e commit cabd2fd

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

scripts/known_good/models/module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def from_dict(cls, name: str, module_data: Dict[str, Any]) -> Module:
106106
metadata_data = module_data.get("metadata")
107107
if metadata_data is not None:
108108
metadata = Metadata.from_dict(metadata_data)
109+
# Enable once we are able to remove '*' in known_good.json
109110
# if any("*" in target for target in metadata.exclude_test_targets):
110111
# raise Exception(
111112
# f"Module {name} has wildcard '*' in exclude_test_targets, which is not allowed. "

scripts/known_good/update_module_from_known_good.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
Usage:
77
python3 scripts/known_good/update_module_from_known_good.py \
88
--known known_good.json \
9-
--output score_modules.MODULE.bazel
9+
--output-dir bazel_common
1010
11-
The generated score_modules.MODULE.bazel file is included by MODULE.bazel.
11+
The generated score_modules_NAME_.MODULE.bazel file is included by MODULE.bazel.
1212
1313
Note: To override repository commits before generating the MODULE.bazel file,
1414
use scripts/known_good/override_known_good_repo.py first to create an updated known_good.json.

scripts/quality_runners.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ def cpp_coverage(module: Module, artifact_dir: Path) -> ProcessResult:
7272
"genhtml",
7373
f"{bazel_coverage_output_directory}/_coverage/_coverage_report.dat",
7474
f"--output-directory={output_dir}",
75-
# f"--source-directory={bazel_source_directory}",
76-
# "--synthesize-missing",
7775
"--show-details",
7876
"--legend",
7977
"--function-coverage",

0 commit comments

Comments
 (0)