tabulate and ruff added
This commit is contained in:
1 parent
101c9bc58b
commit
7c2e2782ec
3 files changed
+28
-14
No files matched your search
Generated
+23
-11
@@ -4,17 +4,7 @@
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="32afd46d-add2-46b7-adb8-c1257e181060" name="Changes" comment="">
|
||||
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/.idea/matrixmania.iml" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/AGENTS.md" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/compute.py" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/pyproject.toml" afterDir="false" />
|
||||
</list>
|
||||
<list default="true" id="32afd46d-add2-46b7-adb8-c1257e181060" name="Changes" comment="second" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
@@ -65,9 +55,31 @@
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1792076204680</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="first commit">
|
||||
<option name="closed" value="true" />
|
||||
<created>1792076569490</created>
|
||||
<option name="number" value="00001" />
|
||||
<option name="presentableId" value="LOCAL-00001" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1792076569490</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00002" summary="second">
|
||||
<option name="closed" value="true" />
|
||||
<created>1792076682847</created>
|
||||
<option name="number" value="00002" />
|
||||
<option name="presentableId" value="LOCAL-00002" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1792076682847</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="3" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="first commit" />
|
||||
<MESSAGE value="second" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="second" />
|
||||
</component>
|
||||
</project>
|
||||
+3
-2
@@ -3,7 +3,7 @@
|
||||
import math
|
||||
import sys
|
||||
from numbers import Number
|
||||
|
||||
from tabulate import tabulate
|
||||
|
||||
def _validate_matrix(matrix: object, name: str) -> list[list[Number]]:
|
||||
"""Prüft, ob es sich um eine gültige Matrix handelt.
|
||||
@@ -236,7 +236,8 @@ def main() -> int:
|
||||
Returns:
|
||||
int: Exit-Code des Programms (0 bei Erfolg, 1 bei Fehler).
|
||||
"""
|
||||
print(rotate(45))
|
||||
#print(rotate(45))
|
||||
print(tabulate(rotate(1.0)))
|
||||
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
[project]
|
||||
name = "matrixmania"
|
||||
version = "0.1.0"
|
||||
version = "0.1.0"
|
||||
dependencies = ["tabulate", "ruff"]
|
||||
Reference in new issue
Block a user