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

REFACT: StructuralRequirment -> Requirement #30

Merged
merged 4 commits into from
May 8, 2024

Conversation

carlwilson
Copy link
Member

  • removed StructuralRequirment class so there is now only a singe Requirement class;
  • disabled the few legitimate pylint exceptions;
  • ValueError rather than None return for ChecksumAlg.from_string(); and
  • refactored model string constants to a single model.constants module.

- removed `StructuralRequirment` class so there is now only a singe `Requirement` class;
- disabled the few legitimate pylint exceptions;
- `ValueError` rather than `None` return for `ChecksumAlg.from_string()`; and
- refactored model string constants to a single `model.constants` module.
@carlwilson carlwilson self-assigned this Feb 28, 2024
@carlwilson carlwilson added the enhancement New feature or request label Feb 28, 2024
@shsdev shsdev requested review from shsdev and removed request for darrendignam April 17, 2024 07:16
@dockmd dockmd self-requested a review April 17, 2024 07:29
Copy link
Collaborator

@dockmd dockmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes required

carlwilson added 2 commits May 8, 2024 08:21
- fixed `Checksum.fromString()` type hints;
- using constants in `eark_validator/model/manifest.py`;
- iterate dictionary not keys in `eark_validator/structure.py`;
- fixed test comment in `tests/manifests_test.py`; and
- added constants to `eark_validator/model/constants.py`.
@carlwilson carlwilson requested a review from dockmd May 8, 2024 09:29
@carlwilson carlwilson merged commit 957aded into integration May 8, 2024
4 checks passed
@carlwilson carlwilson deleted the refact/parser-api branch May 8, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants