Skip to content

Commit aabd06d

Browse files
committed
chore: lint
1 parent d43d820 commit aabd06d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ exclude = .git,__pycache__,venv,.eggs,*.egg,src/typesense/__init__.py
2323
ignore = Q000, WPS602, WPS432, WPS305, WPS221, WPS230, WPS234, WPS433, WPS440, W503, WPS331, WPS306, WPS237, WPS202, RST301, RST306, WPS214, WPS235, WPS226, WPS337, WPS320, F821, WPS201
2424
per-file-ignores =
2525
tests/*.py: S101, WPS226, WPS118, WPS202, WPS204, WPS218, WPS211, WPS604, WPS431, WPS210, WPS201, WPS437
26-
src/typesense/types/*.py: B950, WPS215, WPS111, WPS462, WPS322, WPS428, WPS114, WPS110, WPS202
26+
src/typesense/types/*.py: B950, WPS215, WPS111, WPS462, WPS322, WPS428, WPS114, WPS110, WPS202, WPS115
2727
src/typesense/documents.py: WPS320, E704, D102, WPS428, WPS220
2828
src/typesense/stemming_dictionaries.py: WPS320, E704, D102, WPS428, WPS220
2929
src/typesense/api_call.py: WPS110, WPS211

src/typesense/types/collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class CollectionFieldSchema(typing.Generic[_TType], typing.TypedDict, total=Fals
7575
index: typing.NotRequired[bool]
7676
vec_dist: typing.NotRequired[typing.Union[typing.Literal["cosine", "ip"], str]]
7777

78+
7879
class HNSWParamsSchema(typing.TypedDict):
7980
"""
8081
The schema for the HNSW parameters in the CollectionFieldSchema.
@@ -87,6 +88,7 @@ class HNSWParamsSchema(typing.TypedDict):
8788
M: typing.NotRequired[int]
8889
ef_construction: typing.NotRequired[int]
8990

91+
9092
class RegularCollectionFieldSchema(CollectionFieldSchema[_FieldType]):
9193
"""
9294
The schema of a regular field in a collection.

0 commit comments

Comments
 (0)