Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf

This commit fixes the style issues introduced in eb2e3dd according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Jul 20, 2024
1 parent eb2e3dd commit d83be84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions did-module/autonomous_banking_did.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
import didkit
from pi_nexus_autonomous_banking_network import AutonomousBankingNetwork


class AutonomousBankingDID:
def __init__(self, autonomous_banking_network: AutonomousBankingNetwork):
self.autonomous_banking_network = autonomous_banking_network

def create_did(self, did_config: dict):
# Create a decentralized identity (DID) for autonomous banking
did = didkit.DID()
did.add_component(didkit.Component('public_key'))
did.add_component(didkit.Component('private_key'))
#...
did.add_component(didkit.Component("public_key"))
did.add_component(didkit.Component("private_key"))
# ...
return did

def resolve_did(self, did: didkit.DID):
Expand Down

0 comments on commit d83be84

Please sign in to comment.