From ae2bbd5494beabf4bc6ef274c1f97e293050a36d Mon Sep 17 00:00:00 2001 From: Khoroshevskyi Date: Wed, 5 Jul 2023 11:50:06 -0400 Subject: [PATCH] Fixed unwanted printing project --- docs/changelog.md | 4 ++++ eido/_version.py | 2 +- eido/validation.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index b1fde78..85d3bb7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format. +## [0.2.1] - 2023-07-05 + +### Changed +- printing project to logger.debug ## [0.2.0] - 2023-06-21 diff --git a/eido/_version.py b/eido/_version.py index d3ec452..3ced358 100644 --- a/eido/_version.py +++ b/eido/_version.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.2.1" diff --git a/eido/validation.py b/eido/validation.py index a47e3dd..528aa85 100644 --- a/eido/validation.py +++ b/eido/validation.py @@ -31,7 +31,7 @@ def _validate_object(object, schema, sample_name_colname=False): :raises EidoValidationError: if validation is unsuccessful """ validator = Draft7Validator(schema) - print(object, schema) + _LOGGER.debug(f"{object},\n {schema}") if not validator.is_valid(object): errors = sorted(validator.iter_errors(object), key=lambda e: e.path) errors_by_type = {}