From f5387b1905820af2d7d9f25f40d59b6618f6386e Mon Sep 17 00:00:00 2001 From: Franco Colmenarez Date: Tue, 8 Mar 2022 12:32:18 -0500 Subject: [PATCH] Small sample project --- .gitignore | 3 ++- dev-requirements.txt | 2 ++ main.py | 6 ++++++ requirements.txt | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 dev-requirements.txt create mode 100644 main.py create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index f5e96db..0540009 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -venv \ No newline at end of file +__pycache__/ +venv/ \ No newline at end of file diff --git a/dev-requirements.txt b/dev-requirements.txt new file mode 100644 index 0000000..4f43f3d --- /dev/null +++ b/dev-requirements.txt @@ -0,0 +1,2 @@ +pytest==7.0.1 +pytest-doc==0.0.1 \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..ff7bfcd --- /dev/null +++ b/main.py @@ -0,0 +1,6 @@ +from flask import Flask + +app = Flask(__name__) +@app.route("/") +def hello_world(): + return "

Hello, world!

" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fb0dec5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Flask==2.0.3 \ No newline at end of file -- 2.39.5