2626# Setup
2727LOGGER , PATHS = shared .setup (__file__ )
2828QUARTER = os .path .basename (PATHS ["data_quarter" ])
29- SECTION = "GitHub Ddta "
29+ SECTION = "GitHub data "
3030
3131
3232def parse_arguments ():
@@ -100,19 +100,19 @@ def github_intro(args):
100100 data = pd .read_csv (file_path , index_col = name_label )
101101 total_repositories = data .loc ["Total public repositories" , "COUNT" ]
102102 cc_total = data [data .index .str .startswith ("CC" )]["COUNT" ].sum ()
103- cc_percentage = (cc_total / total_repositories ) * 100
103+ cc_percentage = f" { (cc_total / total_repositories ) * 100 :.2f } %"
104104 shared .update_readme (
105105 args ,
106106 SECTION ,
107107 "Overview" ,
108108 None ,
109109 None ,
110110 "The GitHub data, below, uses the `total_count`"
111- " returned by API for search queries of the various legal tools"
111+ " returned by API for search queries of the various legal tools. "
112112 "\n "
113- f"**The results indicate that { cc_total } { cc_percentage } "
114- " of the {total_repositories} total public repositories"
115- " on GitHub that use a CC legal tool. ( Additionally,"
113+ f"**The results indicate that { cc_total } ( { cc_percentage } ) "
114+ f"** of the { total_repositories } total public repositories"
115+ " on GitHub that use a CC legal tool. Additionally,"
116116 " many more use a non-CC use a Public domain"
117117 " equivalent legal tools.**\n "
118118 "\n "
@@ -135,8 +135,8 @@ def github_intro(args):
135135 " under the same terms."
136136 " [Copyleft](https://en.wikipedia.org/wiki/Copyleft)"
137137 "\n "
138- "Thank you GitHub for providing public access to "
139- " repository metadata through its API. " ,
138+ "Thank you GitHub for providing public API "
139+ " access to repository metadata! " ,
140140 )
141141
142142
0 commit comments