diff --git a/tests/test_utils.py b/tests/test_utils.py index 7f344ef1..a5b7bbeb 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -31,6 +31,8 @@ class Property(BaseModel): """A property.""" + # pylint: disable=unsubscriptable-object + # Yet another pylint bug, see https://github.com/PyCQA/pylint/issues/1498 type: Any = Field(..., description="Valid type name.") shape: Optional[list[str]] = Field( None, description="List of dimension expressions." @@ -43,6 +45,8 @@ class Property(BaseModel): class Entity(BaseModel): """An entity.""" + # pylint: disable=unsubscriptable-object + uri: AnyUrl = Field(..., description="Unique URI identifying the entity.") description: str = Field("", description="A description of the entity.") dimensions: Optional[dict[str, str]] = Field(