Skip to content

Commit 910e82b

Browse files
committed
Moved ty config [skip ci]
1 parent 2295848 commit 910e82b

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
lint:
44
pycodestyle . --ignore=E501 --exclude=.venv
55

6-
check:
7-
ty check pgvector tests --ignore unused-type-ignore-comment
8-
96
build:
107
python3 -m build
118

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ ignore_missing_imports = true
5151
disallow_subclassing_any = false
5252
python_executable = ".venv/bin/python"
5353

54+
[tool.ty.src]
55+
include = [
56+
"pgvector",
57+
"tests"
58+
]
59+
60+
[tool.ty.rules]
61+
unused-type-ignore-comment = "ignore"
62+
5463
[tool.pyright]
5564
include = [
5665
"pgvector",

0 commit comments

Comments
 (0)