Skip to content

Commit 77c41cd

Browse files
committed
[tools] Basic config for ty checker
1 parent 6c9f270 commit 77c41cd

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ type-checking = [
110110
"types-requests",
111111
"types-simplejson",
112112
"types-xmltodict",
113+
"ty",
113114
]
114115
docs = [
115116
"sphinx >= 6.2; python_version < '3.11'",
@@ -172,7 +173,6 @@ exclude_also = [
172173
"if TYPE_CHECKING:",
173174
]
174175

175-
176176
# ------------------------------------------------------------------
177177
# | Mypy settings
178178
# ------------------------------------------------------------------
@@ -183,6 +183,14 @@ exclude = [
183183
'^docs/.+$',
184184
]
185185

186+
# ------------------------------------------------------------------
187+
# | Ty settings
188+
# ------------------------------------------------------------------
189+
[tool.ty.src]
190+
exclude = ["docs", "tests", "noxfile.py"]
191+
[tool.ty.environment]
192+
python-version = "3.10"
193+
186194
# ------------------------------------------------------------------
187195
# | Ruff settings
188196
# ------------------------------------------------------------------

uv.lock

Lines changed: 26 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)