summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-10-02 01:10:42 +0200
committerColin Wilk <colin.wilk@tum.de>2023-10-02 01:10:42 +0200
commitda105eb3dd66935401c7740a132b3d18d77294ec (patch)
tree9188c81f6a2381038fd4404989efc963b59c358a /pyproject.toml
parent45301553e15e95afe3139f8efa4885c1462d436d (diff)
downloadszuruboorupy-da105eb3dd66935401c7740a132b3d18d77294ec.tar.gz
szuruboorupy-da105eb3dd66935401c7740a132b3d18d77294ec.zip
Add pydantic to dataclasses
Verifies the type annotations on the classes. This commit also fixes a bug where an invalid type was returned for suggestions of a Tag. The return type was a dict of a Micro Tag Structure but it was expected to be a string (see szurubooru.py) Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 077a683..8b25550 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,6 +11,7 @@ pybooru = "^4.2.2"
alive-progress = "^3.1.4"
colorama = "^0.4.6"
python-dotenv = "^1.0.0"
+pydantic = "^2.4.2"
[tool.poetry.group.dev.dependencies]
pytype = "^2023.9.27"