From c5849e4c6c95b39a47776bf67384729bd317a831 Mon Sep 17 00:00:00 2001 From: Simon Jones Date: Thu, 21 Sep 2023 21:10:36 -0400 Subject: [PATCH] fix: ignore type of pydantic `conint` to pass linter check --- chasten/results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chasten/results.py b/chasten/results.py index 6a005e75..78331fbe 100644 --- a/chasten/results.py +++ b/chasten/results.py @@ -68,8 +68,8 @@ class Check(BaseModel): id: str name: str description: str = "" - min: Optional[conint(ge=0)] = 0 - max: Optional[conint(ge=0)] = 0 + min: Optional[conint(ge=0)] = 0 # type: ignore + max: Optional[conint(ge=0)] = 0 # type: ignore pattern: str passed: bool matches: list[Match] = []