From a9c95dfc037833085fa35f8d00ddc139560981b9 Mon Sep 17 00:00:00 2001 From: Kata Date: Thu, 5 Nov 2026 14:44:20 +0100 Subject: [PATCH] =?UTF-8?q?tabulate=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compute.py | 5 +++-- pyproject.toml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/compute.py b/compute.py index ff7ce23..37dede6 100644 --- a/compute.py +++ b/compute.py @@ -1,6 +1,6 @@ -from typing import List, Sequence +from tabulate import tabulate -Matrix = List[List[int]] +Matrix = list[list[int]] def matmul(matrix_a: Matrix, matrix_b: Matrix) -> Matrix: @@ -134,4 +134,5 @@ if __name__ == "__main__": for row in rot_2D(math.pi/2): print(row) +print(tabulate(rot_2D(1.0))) #test git kommentar diff --git a/pyproject.toml b/pyproject.toml index 46e3b47..3a776b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ [project] name = "matrixmania" -version = "0.1.0" \ No newline at end of file +version = "0.1.0" +dependencies = ["tabulate", "ruff"] \ No newline at end of file