This is a deep dive into the Continue code base, folder by folder and file by file where relevant.
| """ | |
| Created on Sun Apr 12 19:16:07 2020 | |
| Copyright 2020 Dallin Romney | |
| License: CC BY 4.0 | |
| """ | |
| import tkinter as tk | |
| class ScrollableFrame(tk.Frame): | |
| """ | |
| Created on Sun Apr 12 19:16:07 2020 | |
| Copyright 2020 Dallin Romney | |
| License: CC BY 4.0 | |
| """ | |
| import tkinter as tk | |
| class SimpleScrollableFrame(tk.Frame): | |
| // Generic data getter from random-data-api.com/api | |
| const getRandomDataAPI = async (resource, numItems) => { | |
| const api_url = `https://random-data-api.com/api/${resource}?size=${numItems}` | |
| const response = await fetch(api_url) | |
| const data = await response.json(); | |
| return data; | |
| } | |
| // Example - Random beer | |
| const getBeers = async (numBeers) => { |
| class ExceptionA(Exception): | |
| pass | |
| class ExceptionB(Exception): | |
| pass | |
| class ExceptionC(Exception): | |
| pass |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Home</title> | |
| <link href="/styles.css" rel="stylesheet" type="text/css"> | |
| </head> | |
| <body> | |
| <div class="main-tab"> | |
| <div class="main-col"> |
The Continue Extension can be seen as 3 main entities:
| Run | |
| #!/bin/bash | |
| # Check if PR number is provided | |
| if [ -z "$1" ]; then | |
| echo "Error: Please provide a PR number" | |
| echo "Usage: rerun_failed_checks <PR_NUMBER>" | |
| exit 1 | |
| fi |