Skip to content

Commit 70a8aa8

Browse files
ff137dbluhm
authored andcommitted
🎨 fix typos
Signed-off-by: ff137 <[email protected]>
1 parent 7a8a2b7 commit 70a8aa8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

pydid/did.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""W3C DID Representation.
22
3-
DID Parsing rules derived from W3C Decentrialized Identifiers v1.0 Working Draft 18
3+
DID Parsing rules derived from W3C Decentralized Identifiers v1.0 Working Draft 18
44
January 2021:
55
66
https://w3c.github.io/did-core/

pydid/validation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@contextmanager
1010
def wrap_validation_error(error_to_raise: Type[Exception], message: str = None):
11-
"""Wrap validation erros with more friendly errors."""
11+
"""Wrap validation errors with more friendly errors."""
1212
try:
1313
yield
1414
except ValidationError as error:

pydid/verification_method.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ class Bls1238G2Key2020(VerificationMethod):
215215
public_key_base58: str
216216

217217

218-
class GpgVerifcationKey2020(VerificationMethod):
219-
"""GpgVerifcationKey2020 VerificationMethod."""
218+
class GpgVerificationKey2020(VerificationMethod):
219+
"""GpgVerificationKey2020 VerificationMethod."""
220220

221-
type: Literal["GpgVerifcationKey2020"]
221+
type: Literal["GpgVerificationKey2020"]
222222
public_key_gpg: str
223223

224224

@@ -281,7 +281,7 @@ class UnknownVerificationMethod(VerificationMethod):
281281
EcdsaSecp256k1VerificationKey2019,
282282
Bls1238G1Key2020,
283283
Bls1238G2Key2020,
284-
GpgVerifcationKey2020,
284+
GpgVerificationKey2020,
285285
RsaVerificationKey2018,
286286
X25519KeyAgreementKey2019,
287287
X25519KeyAgreementKey2020,

tests/test_resource.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Test(Resource):
3636
def test_dereference_as_compatible(mock_indexed_resource):
3737
class One(Resource):
3838
common: str
39-
optiona: Optional[str] = None
39+
optional: Optional[str] = None
4040

4141
class Two(Resource):
4242
common: str

0 commit comments

Comments
 (0)