Skip to content

Commit

Permalink
🎨 Remove redundant f-formatting
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Feb 13, 2025
1 parent 4e44552 commit 5574bf9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions acapy_agent/messaging/valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,10 @@ class IndyCredDefId(Regexp):
EXAMPLE = "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"
PATTERN = (
rf"^([{B58}]{{21,22}})" # issuer DID
f":3" # cred def id marker
f":CL" # sig alg
":3" # cred def id marker
":CL" # sig alg
rf":(([1-9][0-9]*)|([{B58}]{{21,22}}:2:.+:[0-9.]+))" # schema txn / id
f":(.+)?$" # tag
":(.+)?$" # tag
)

def __init__(self):
Expand Down Expand Up @@ -555,7 +555,7 @@ class IndyRevRegId(Regexp):
rf"^([{B58}]{{21,22}}):4:"
rf"([{B58}]{{21,22}}):3:"
rf"CL:(([1-9][0-9]*)|([{B58}]{{21,22}}:2:.+:[0-9.]+))(:.+)?:"
rf"CL_ACCUM:(.+$)"
r"CL_ACCUM:(.+$)"
)

def __init__(self):
Expand Down

0 comments on commit 5574bf9

Please sign in to comment.