From f7282cf4dbf0d10a8d9c2f3360a0bf223faf9cd8 Mon Sep 17 00:00:00 2001 From: Tonii2206 Date: Tue, 20 Oct 2026 16:55:20 +0200 Subject: [PATCH] pyprojekt.toml unbennannt --- AGENTS.md | 6 +++++- pyproject.toml | 5 ++++- compute.py => src/matrixmania/compute.py | 0 3 files changed, 9 insertions(+), 2 deletions(-) rename compute.py => src/matrixmania/compute.py (100%) diff --git a/AGENTS.md b/AGENTS.md index 79a2eba..c08a655 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,8 @@ # Regeln für dieses Projekt - Code nach PEP 8, Zeilenlänge maximal 88 Zeichen. - Jede Funktion und Methode hat einen Docstring und Type Hints. -- Vor jedem Commit: `ruff check` und `ruff format`. \ No newline at end of file +- Vor jedem Commit: `ruff check` und `ruff format`. + +## Projektstruktur +- Quellcode liegt unter "src/matrixmania/", Tests unter "test/test_matrixmania/" +- Testpakete, Testdateien und Testfunktionen beginnen mit "test_" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 6d49d24..fa29cc7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,4 +3,7 @@ name = "matrixmania" version = "0.1.0" dependencies = ["tabulate", "ruff"] [project.optional-dependencies] -dev = ["pytest", "ruff", "pytest-cov"] \ No newline at end of file +dev = ["pytest", "ruff", "pytest-cov"] + +[tool.pytest.ini_options] +pythonpath = "src" \ No newline at end of file diff --git a/compute.py b/src/matrixmania/compute.py similarity index 100% rename from compute.py rename to src/matrixmania/compute.py