from git import Repo import os GITHUB_PAT = os.environ['GITHUB'] if os.path.exists('repo_directory'): None else: return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' ) import repo_directory.app as app # app.plot_circuits() # app.plot_recent_overtakes() # app.plot_full_season()