-
Notifications
You must be signed in to change notification settings - Fork 93
build(deps-dev): bump ruff from 0.15.22 to 0.16.0 #1854
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
base: main
Are you sure you want to change the base?
Changes from all commits
7f697c0
0cefc2b
4af8ad8
e9cf96f
cfda91d
83bb9d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ | |
| import typing | ||
| from dataclasses import dataclass | ||
|
|
||
| from pydantic import BaseModel, Field, StrictStr | ||
| from pydantic import BaseModel, StrictStr | ||
|
|
||
| from sigstore._utils import KeyID | ||
| from sigstore.errors import VerificationError | ||
|
|
@@ -115,8 +115,8 @@ class SignedNote: | |
| Represents a "signed note" containing a note and its corresponding list of signatures. | ||
| """ | ||
|
|
||
| note: StrictStr = Field(..., alias="note") | ||
| signatures: list[RekorSignature] = Field(..., alias="signatures") | ||
| note: str | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I'm not sure if this one is 1-1? I think
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The issue is that the containing class is a dataclass (and not a pydantic BaseModel) so IIUC these don't actually do anything currently. So the alternative would be to make SignedNote a BaseModel but that would be more of a change than what I do here |
||
| signatures: list[RekorSignature] | ||
|
|
||
| @classmethod | ||
| def from_text(cls, text: str) -> SignedNote: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.