Skip to content

verify_delegate() document ValueError and TypeError - #1838

Merged
lukpueh merged 1 commit into
theupdateframework:developfrom
MVrachev:verify-delegate-document-exceptions
Feb 8, 2022
Merged

lukpueh merged 1 commit into
theupdateframework:developfrom
MVrachev:verify-delegate-document-exceptions

Conversation

@MVrachev

@MVrachev MVrachev commented Feb 8, 2022

Copy link
Copy Markdown
Collaborator

Fixes #1817

Description of the changes being introduced by the pull request:

Add missing documentation for ValueError and TypeError inside
Metadata.verify_delegate().

Signed-off-by: Martin Vrachev [email protected]

Please verify and check that the pull request fulfills the following
requirements
:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

@coveralls

coveralls commented Feb 8, 2022 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 1811894055

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 98.57%

Totals Coverage Status
Change from base Build 1811836431: 0.2%
Covered Lines: 1091
Relevant Lines: 1103

💛 - Coveralls

Comment thread tuf/api/metadata.py Resolved
Add missing documentation for ValueError and TypeError inside
Metadata.verify_delegate().

Signed-off-by: Martin Vrachev <[email protected]>
@MVrachev
MVrachev force-pushed the verify-delegate-document-exceptions branch from a4d89c5 to 5f51579 Compare February 8, 2022 11:11
@MVrachev
MVrachev requested a review from lukpueh February 8, 2022 11:11

@lukpueh lukpueh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@lukpueh
lukpueh merged commit 1e36ec6 into theupdateframework:develop Feb 8, 2022
@MVrachev
MVrachev deleted the verify-delegate-document-exceptions branch February 8, 2022 14: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.

Metadata API: verify_delegate() should document errors

3 participants