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

style: improve error message for invalid architectures #98

Merged
merged 3 commits into from
Feb 3, 2025

Conversation

mr-cal
Copy link
Contributor

@mr-cal mr-cal commented Jan 31, 2025

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint && make test?

Update docstrings to include :raises:, improve error message presentation.

Fixes canonical/craft-application#629 (comment)

@mr-cal mr-cal requested review from a team and removed request for a team January 31, 2025 19:09
@mr-cal mr-cal marked this pull request as draft January 31, 2025 19:29
@mr-cal mr-cal changed the title docs: add :raises: to docstrings style: improve error message for invalid architectures Jan 31, 2025
@mr-cal mr-cal requested a review from tigarmo January 31, 2025 20:49
Copy link
Contributor

@tigarmo tigarmo left a comment

Choose a reason for hiding this comment

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

thanks!

docs/reference/changelog.rst Outdated Show resolved Hide resolved
Signed-off-by: Callahan Kovacs <[email protected]>
@mr-cal
Copy link
Contributor Author

mr-cal commented Feb 3, 2025

@lengau - I'll need you to land this.

@lengau lengau merged commit 9e86439 into main Feb 3, 2025
13 checks passed
@lengau lengau deleted the work/docstring branch February 3, 2025 16:21
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.

Improve validation error presentation for invalid architectures in project models
3 participants