From ea39ef63a9ba4b6a7ab18302980923032db98adf Mon Sep 17 00:00:00 2001 From: Mike Conway Date: Wed, 5 Mar 2025 12:36:21 -0500 Subject: [PATCH] #5 testing lint action --- accelerator_core/utils/schema_tools.py | 2 ++ requirements.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/accelerator_core/utils/schema_tools.py b/accelerator_core/utils/schema_tools.py index 13db0eb..95bd7cf 100644 --- a/accelerator_core/utils/schema_tools.py +++ b/accelerator_core/utils/schema_tools.py @@ -22,9 +22,11 @@ def read_current_schema(schema_version: str = CURRENT_ACCEL_SCHEMA_VERSION): schema_name = f"accel-schema-v{schema_version}.json" with determine_resource_path(accelerator_core.schema, schema_name) as fspath: + logger.debug(f"resource path:{fspath}") with open(fspath) as json_data: + d = json.load(json_data) return d diff --git a/requirements.txt b/requirements.txt index 24ef495..40b2975 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ jsonschema~=4.23.0 pre-commit~=4.1.0 black~=25.1.0 pytest~=8.3.5 +coverage~=7.6.12