From efe2f8d694efcfd93ac6e6d66730547310973261 Mon Sep 17 00:00:00 2001 From: Sophie <133236526+SKernchen@users.noreply.github.com> Date: Wed, 29 Nov 2023 14:28:50 +0100 Subject: [PATCH] Deletes false comment and changes error to stderr Co-authored-by: David Pape --- pyproject.toml | 2 -- src/hermes/config.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index aa10e9b3..3e08508c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,8 +40,6 @@ cffconvert = { git = "https://github.com/citation-file-format/cff-converter-pyth toml = "^0.10.2" pyparsing = "^3.0.9" requests = "^2.28.1" - -# Packages for developers pydantic-settings = "^2.1.0" [tool.poetry.group.dev.dependencies] diff --git a/src/hermes/config.py b/src/hermes/config.py index df6a9908..d9a69102 100644 --- a/src/hermes/config.py +++ b/src/hermes/config.py @@ -87,7 +87,7 @@ def configure(config_path: pathlib.Path, working_path: pathlib.Path): _config['hermes'] = hermes_config _config['logging'] = hermes_config.get('logging', _config['logging']) except ValidationError as e: - print(e) + print(e, file=sys.stderr) sys.exit(1) except FileNotFoundError: if config_path.name != 'hermes.toml':