Skip to content

Commit af6fc07

Browse files
committed
Add Pydantic
1 parent e3ee3c1 commit af6fc07

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies = [
2929
"colorama>=0.4.0",
3030
"impit>=0.9.2",
3131
"more_itertools>=10.0.0",
32+
"pydantic>=2.11.0",
3233
]
3334

3435
[project.urls]
@@ -143,6 +144,7 @@ indent-style = "space"
143144
"D", # Everything from the pydocstyle
144145
"E501", # Line too long
145146
"ERA001", # Commented-out code
147+
"TC003", # Move standard library import into a type-checking block
146148
]
147149

148150
[tool.ruff.lint.flake8-quotes]
@@ -171,10 +173,7 @@ python-version = "3.10"
171173
include = ["src", "tests", "scripts", "docs", "website"]
172174

173175
[[tool.ty.overrides]]
174-
include = [
175-
"docs/**/*.py",
176-
"website/**/*.py",
177-
]
176+
include = ["docs/**/*.py", "website/**/*.py"]
178177

179178
[tool.ty.overrides.rules]
180179
unresolved-import = "ignore"

uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)