Skip to content

Commit

Permalink
Update coverage schema to 0.3.0
Browse files Browse the repository at this point in the history
Now requires file name, a unique ID, and a different line representation.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
  • Loading branch information
Pennycook committed Mar 21, 2024
1 parent 7fe1a6b commit 7d2a9ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include codebasin/schema/analysis.schema
include codebasin/schema/compilation-database.schema
include codebasin/schema/config.schema
include codebasin/schema/coverage-0.1.0.schema
include codebasin/schema/coverage-0.2.0.schema
include codebasin/schema/coverage-0.3.0.schema
include codebasin/schema/cbiconfig.schema
40 changes: 0 additions & 40 deletions codebasin/schema/coverage-0.2.0.schema

This file was deleted.

2 changes: 1 addition & 1 deletion codebasin/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _validate_json(json_object: object, schema_name: str) -> bool:
"analysis": "schema/analysis.schema",
"compiledb": "schema/compilation-database.schema",
"config": "schema/config.schema",
"coverage": "schema/coverage-0.2.0.schema",
"coverage": "schema/coverage-0.3.0.schema",
"cbiconfig": "schema/cbiconfig.schema",
}
if schema_name not in schema_paths.keys():
Expand Down

0 comments on commit 7d2a9ba

Please sign in to comment.