Skip to content

Commit

Permalink
format yaml and update req.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Dec 3, 2024
1 parent 885ee44 commit 1c79d7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions daoip-5/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,14 @@ def generate_grant_pool_json(yaml_file, dao_name, dao_type):
}

for pool_name in dao_metadata['grant_pools']:
pool_name = pool_name['name']
grant_pool_name = pool_name['name']
grant_pool = {
"type": "GrantPool",
"id": pool_name,
"name": pool_name,
"description": f"Grants pool for {pool_name}",
"id": grant_pool_name,
"name": grant_pool_name,
"description": f"Grants pool for {grant_pool_name}",
"isOpen": False,
"applicationsURI": f"https://raw.githubusercontent.com/opensource-observer/oss-funding/refs/heads/main/daoip-5/json/{dao_metadata['name']}/{pool_name}_applications_uri.json",
"governanceURI": pool_name.get('governanceURI', 'governanceURI Not Available'),
"applicationsURI": f"https://raw.githubusercontent.com/opensource-observer/oss-funding/refs/heads/main/daoip-5/json/{dao_metadata['name']}/{grant_pool_name}_applications_uri.json",
"requiredCredentials": ["DAO Attestation", "KYC"],
}

Expand Down
2 changes: 1 addition & 1 deletion daoip-5/scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PyYAML==5.4.1
PyYAML
2 changes: 1 addition & 1 deletion data/funders/clrfund/clrfund.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: clrfund
type: DAO
display_name: clr.fund
grant_pools:
- name: round_9
- name: round_9

0 comments on commit 1c79d7e

Please sign in to comment.