Skip to content

Commit 852d928

Browse files
committed
mypy
1 parent e0f433b commit 852d928

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

python/lib/sift_client/resources/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ async def main():
178178

179179
# These are not test classes, so we need to set __test__ to False to avoid pytest warnings.
180180
# Do this here because for some reason our docs generation doesn't like it when done in the classes themselves.
181-
TestResultsAPI.__test__ = False
182-
TestResultsAPIAsync.__test__ = False
181+
TestResultsAPI.__test__ = False # type: ignore
182+
TestResultsAPIAsync.__test__ = False # type: ignore
183183

184184
__all__ = [
185185
"AssetsAPI",

python/lib/sift_client/sift_types/__init__.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,17 @@
176176

177177
# These are not test classes, so we need to set __test__ to False to avoid pytest warnings.
178178
# Do this here because for some reason our docs generation doesn't like it when done in the classes themselves.
179-
TestStepType.__test__ = False
180-
TestMeasurementType.__test__ = False
181-
TestMeasurement.__test__ = False
182-
TestMeasurementCreate.__test__ = False
183-
TestMeasurementUpdate.__test__ = False
184-
TestStatus.__test__ = False
185-
TestStep.__test__ = False
186-
TestStepCreate.__test__ = False
187-
TestReport.__test__ = False
188-
TestReportCreate.__test__ = False
189-
TestReportUpdate.__test__ = False
179+
TestStepType.__test__ = False # type: ignore
180+
TestMeasurementType.__test__ = False # type: ignore
181+
TestMeasurement.__test__ = False # type: ignore
182+
TestMeasurementCreate.__test__ = False # type: ignore
183+
TestMeasurementUpdate.__test__ = False # type: ignore
184+
TestStatus.__test__ = False # type: ignore
185+
TestStep.__test__ = False # type: ignore
186+
TestStepCreate.__test__ = False # type: ignore
187+
TestReport.__test__ = False # type: ignore
188+
TestReportCreate.__test__ = False # type: ignore
189+
TestReportUpdate.__test__ = False # type: ignore
190190

191191
__all__ = [
192192
"Asset",

0 commit comments

Comments
 (0)