Stricter mypy rules for skyvern.library.* (#4345)
This commit is contained in:
committed by
GitHub
parent
9788138861
commit
dfcf4913e9
10
mypy.ini
10
mypy.ini
@@ -6,5 +6,15 @@ disallow_untyped_defs = True
|
||||
exclude = ^(venv|venv-dev)
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-skyvern.library.*]
|
||||
ignore_missing_imports = False
|
||||
follow_imports = normal
|
||||
disable_error_code = arg-type, override, return-value, valid-type, no-any-return
|
||||
|
||||
; Disabling for generated code
|
||||
[mypy-skyvern.client.*]
|
||||
follow_imports = normal
|
||||
ignore_errors = True
|
||||
|
||||
[mypy-numpy.*]
|
||||
ignore_errors = True
|
||||
|
||||
@@ -1693,9 +1693,9 @@ class WorkflowService:
|
||||
continue
|
||||
|
||||
block_output_parameter["created_at"] = output_parameter.created_at
|
||||
labels_to_outputs[label] = block_output_parameter
|
||||
labels_to_outputs[label] = block_output_parameter # type: ignore[assignment]
|
||||
|
||||
return labels_to_outputs
|
||||
return labels_to_outputs # type: ignore[return-value]
|
||||
|
||||
async def get_workflows_by_permanent_ids(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user