From 862c0d915c94a0906c3e9048ca4808dfc88ebde0 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 21 Mar 2025 15:04:30 +0100 Subject: [PATCH] fix: remove foobar functions which was only used to test if sphinx works Refs: OPS-69 --- senju/haiku.py | 7 ------- senju/main.py | 7 ------- senju/store_manager.py | 7 ------- 3 files changed, 21 deletions(-) diff --git a/senju/haiku.py b/senju/haiku.py index e112215..2fd7a2f 100644 --- a/senju/haiku.py +++ b/senju/haiku.py @@ -10,13 +10,6 @@ AI_BASE_URL: str = "http://ollama:11434/api" AI_GEN_ENDPOINT: str = "/generate" -def foobar(): - """WE KNOW""" - a = 3 - b = 3 - return a + b - - @dataclass class Haiku: lines: list[str] diff --git a/senju/main.py b/senju/main.py index 663a7c5..766a5d6 100644 --- a/senju/main.py +++ b/senju/main.py @@ -15,13 +15,6 @@ app = Flask(__name__) store = StoreManager(Path("/tmp/store.db")) -def foobar(): - """WE KNOW""" - a = 3 - b = 3 - return a + b - - @app.route("/") def index_view(): return render_template("index.html", title="Senju") diff --git a/senju/store_manager.py b/senju/store_manager.py index 72a4561..e99b98e 100644 --- a/senju/store_manager.py +++ b/senju/store_manager.py @@ -12,13 +12,6 @@ from senju.haiku import Haiku DEFAULT_DB_PATH: Path = Path("/var/lib/senju.json") -def foobar(): - """WE KNOW""" - a = 3 - b = 3 - return a + b - - class StoreManager: __slots__ = "_db", "logger" _db: TinyDB