Skip to content

Commit

Permalink
fix: global stats (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleretters authored Jul 1, 2023
1 parent 6f08ab0 commit 209f5b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 02-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ def __init__(self, community_data: CommunityData):
}

def fetch(self):
global remote_cover_count
global local_cover_count
global missing_cover_count
for project in self.community_data.get_projects_in_alphabetical_order():
log('################################')
log(project.raw_name)
Expand Down Expand Up @@ -207,6 +210,8 @@ def __init__(self, community_data: CommunityData):
}

def fetch(self):
global remote_readme_count
global missing_readme_count
for project in self.community_data.get_projects_in_alphabetical_order():
log('################################')
log(project.raw_name)
Expand Down Expand Up @@ -508,4 +513,4 @@ def log_stats(community_data):
log_stats(community_data)
runtime = datetime.datetime.now() - time_start
log('finishing at ' + datetime.datetime.now().strftime("%a %b %d %H:%M:%S %Z %Y"))
log('total runtime ' + runtime.__str__())
log('02-build.py runtime ' + runtime.__str__())

0 comments on commit 209f5b2

Please sign in to comment.