From 609fe36ca2ad34cbcd5144a72b1ef001e07b744d Mon Sep 17 00:00:00 2001 From: Faisal Date: Mon, 5 Jun 2023 14:34:05 -0300 Subject: [PATCH] Validation error (#61) * adding in validation error message * Bump 2023.4.0 to 2023.6.0 --- docs/source/conf.py | 2 +- edgetest/__init__.py | 2 +- edgetest/interface.py | 2 +- setup.cfg | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 4a2f8d7..3bf0630 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,7 +25,7 @@ author = "Akshay Gupta" # The short X.Y version -version = "2023.4.0" +version = "2023.6.0" # The full version, including alpha/beta/rc tags release = "" diff --git a/edgetest/__init__.py b/edgetest/__init__.py index a9753ad..20cbe94 100644 --- a/edgetest/__init__.py +++ b/edgetest/__init__.py @@ -1,7 +1,7 @@ """Package initialization.""" -__version__ = "2023.4.0" +__version__ = "2023.6.0" __title__ = "edgetest" __description__ = "Bleeding edge dependency testing" diff --git a/edgetest/interface.py b/edgetest/interface.py index de77176..63106fb 100644 --- a/edgetest/interface.py +++ b/edgetest/interface.py @@ -135,7 +135,7 @@ def cli( pm.hook.addoption(schema=docstructure) validator = EdgetestValidator(schema=docstructure.schema) if not validator.validate(conf): - click.echo("Unable to validate configuration file.") + click.echo(f"Unable to validate configuration file. Error: {validator.errors}") raise ValueError("Unable to validate configuration file.") conf = validator.document diff --git a/setup.cfg b/setup.cfg index 82c2f2a..807ba69 100644 --- a/setup.cfg +++ b/setup.cfg @@ -100,7 +100,7 @@ console_scripts = edgetest = edgetest.interface:cli [bumpver] -current_version = "2023.4.0" +current_version = "2023.6.0" version_pattern = "YYYY.MM.INC0" commit_message = "Bump {old_version} to {new_version}" commit = True