diff --git a/dev_tools/conf/mypy-next.ini b/dev_tools/conf/mypy-next.ini index 06f19fedaef..481db6dc516 100644 --- a/dev_tools/conf/mypy-next.ini +++ b/dev_tools/conf/mypy-next.ini @@ -6,7 +6,7 @@ follow_imports = silent ignore_missing_imports = true # 3rd-party libs for which we don't have stubs -[mypy-apiclient.*,freezegun.*,matplotlib.*,mpl_toolkits,multiprocessing.dummy,oauth2client.*,pandas.*,proto.*,pytest.*,scipy.*,sortedcontainers.*,setuptools.*,pylatex.*,networkx.*,qiskit.*,pypandoc.*,ply.*,_pytest.*,google.api.*,google.api_core.*,grpc.*,google.oauth2.*,google.protobuf.text_format.*,quimb.*,pyquil.*,google.cloud.*,filelock.*,codeowners.*,tqdm.*] +[mypy-apiclient.*,freezegun.*,matplotlib.*,mpl_toolkits,multiprocessing.dummy,oauth2client.*,pandas.*,proto.*,pytest.*,scipy.*,sortedcontainers.*,setuptools.*,pylatex.*,networkx.*,qiskit.*,pypandoc.*,ply.*,_pytest.*,google.api.*,google.api_core.*,grpc.*,google.auth.*,google.oauth2.*,google.protobuf.text_format.*,quimb.*,pyquil.*,google.cloud.*,filelock.*,codeowners.*,tqdm.*,importlib_metadata.*,google.colab.*,IPython.*,astroid.*,pylint.*,qcs_api_client.*] follow_imports = silent ignore_missing_imports = true @@ -15,8 +15,12 @@ ignore_missing_imports = true ignore_missing_imports = True # Treat symbols imported from Google's protobuf library as type Any. -# This supresses errors due to attributes not known to typeshed, +# This suppresses errors due to attributes not known to typeshed, # e.g. Descriptor._options. [mypy-google.protobuf.*] follow_imports = skip follow_imports_for_stubs = true + +# ruamel is a downstream dependency of cirq-rigetti through pyquil. +[mypy-ruamel.*] +ignore_missing_imports = true