Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH18 Improve testing, error handling and coincidently introduce console colour #24

Merged
merged 7 commits into from
Apr 12, 2024

Conversation

IanHopkinson
Copy link
Collaborator

@IanHopkinson IanHopkinson commented Apr 7, 2024

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 file

Versioning

hdx-cli-toolkit uses the CalVer versioning scheme with format YYYY.MM.Micro i.e. 2022.12.1 which is updated manually in pyproject.toml. The "Micro" component is simply an integer increased by 1 at each version, starting from 0.

  • Version updated in pyproject.toml and PR description
  • Update README.md and DEMO.md with any new CLI commands

@IanHopkinson IanHopkinson merged commit bcc3053 into main Apr 12, 2024
1 check passed
@IanHopkinson IanHopkinson deleted the gh18_testing_and_errors branch April 12, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant