-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: ✨ add check_resource_properties [5/7] #965
base: feat/sprout-checks-4-sprout-specific-package-and-resource-errors
Are you sure you want to change the base?
feat: ✨ add check_resource_properties [5/7] #965
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is very similar to the other two top-level functions check_package_properties
and check_properties
(in other PRs). We can commonise some bits later if we want.
…ce-errors' into feat/sprout-checks-5-check-resource-properties
…ce-errors' into feat/sprout-checks-5-check-resource-properties
seedcase_sprout/core/sprout_checks/check_resource_properties.py
Outdated
Show resolved
Hide resolved
tests/core/sprout_checks/test_check_resource_properties_sprout.py
Outdated
Show resolved
Hide resolved
seedcase_sprout/core/sprout_checks/check_resource_properties.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Signe Kirk Brødbæk <[email protected]>
…ce-errors' into feat/sprout-checks-5-check-resource-properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few comments 🙌
seedcase_sprout/core/sprout_checks/check_resource_properties.py
Outdated
Show resolved
Hide resolved
tests/core/sprout_checks/test_check_resource_properties_sprout.py
Outdated
Show resolved
Hide resolved
…ce-errors' into feat/sprout-checks-5-check-resource-properties
Co-authored-by: Luke W. Johnston <[email protected]>
Description
This PR adds the top-level check function for resource properties in Sprout.
It also adds a "summary" error that is raised when any specific
CheckError
is found by any of the inner check functions.Closes #937
This PR needs an in-depth review.
Checklist
just run-all