Skip to content

Commit

Permalink
style: ci lint with black
Browse files Browse the repository at this point in the history
  • Loading branch information
Tritium-VLK authored and github-actions[bot] committed Jul 31, 2024
1 parent 1d453d7 commit b6fd985
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions generate_current_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
def build_chain_permissions_list(chain_name):
a = AddrBook(chain_name)
results = {}
action_ids_list = f"{GITHUB_DEPLOYMENTS_RAW}/action-ids/{chain_name}/action-ids.json"
action_ids_list = (
f"{GITHUB_DEPLOYMENTS_RAW}/action-ids/{chain_name}/action-ids.json"
)
w3 = Web3Rpc(chain_name, DRPC_KEY)

try:
Expand All @@ -38,7 +40,9 @@ def build_chain_permissions_list(chain_name):
if numMembers > 0:
memberAddressList = []
for i in range(0, numMembers, 1):
caller = str(authorizer.functions.getRoleMember(action_id, i).call())
caller = str(
authorizer.functions.getRoleMember(action_id, i).call()
)
memberAddressList.append(caller)

results[action_id] = memberAddressList
Expand Down

0 comments on commit b6fd985

Please sign in to comment.