GH18 Improve testing, error handling and coincidently introduce console colour #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Version for this PR: 2024.4.2
The main aim of this PR was to improve test coverage but incidentally a universal error handler for the HDX authorization error was added and a demonstration of adding colour to terminal output included.
#18 #14 #22
Major file changes
Major changes to the test files
Minor file changes
Minor documentation change from previous version. Decorator added to
hdx_utilities.py
fileVersioning
hdx-cli-toolkit
uses the CalVer versioning scheme with format YYYY.MM.Micro i.e. 2022.12.1 which is updated manually inpyproject.toml
. The "Micro" component is simply an integer increased by 1 at each version, starting from 0.pyproject.toml
and PR description