as-cle-bert commited on
Commit
0e24b58
1 Parent(s): 1f3aa7a

Update repos.py

Browse files
Files changed (1) hide show
  1. repos.py +1 -1
repos.py CHANGED
@@ -54,5 +54,5 @@ def get_repo_info(username,token):
54
  top_10_topics = top_ten_strings(topics)
55
  top_10_langs_abs = sort_dict_by_value(languages)
56
  sum_langs = sum(list(languages.values()))
57
- top_10_langs = {l: f"{round(top_10_langs_abs[l]*100/sum_langs,2)}%" for l in top_10_langs_abs}
58
  return repocount, gained_stars, gained_forks, top_10_topics, top_10_langs
 
54
  top_10_topics = top_ten_strings(topics)
55
  top_10_langs_abs = sort_dict_by_value(languages)
56
  sum_langs = sum(list(languages.values()))
57
+ top_10_langs = {l: round(top_10_langs_abs[l]*100/sum_langs,2) for l in top_10_langs_abs}
58
  return repocount, gained_stars, gained_forks, top_10_topics, top_10_langs