1[mypy] 2 3[mypy-__main__] 4follow_imports = silent 5ignore_missing_imports = true 6 7# 3rd-party libs for which we don't have stubs 8[mypy-apiclient.*,freezegun.*,matplotlib.*,mpl_toolkits,multiprocessing.dummy,oauth2client.*,pandas.*,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.*,importlib_metadata.*] 9follow_imports = silent 10ignore_missing_imports = true 11 12# There was no type information before numpy 1.20, so there are numpy mypy issues in the codebase 13[mypy-numpy.*] 14follow_imports = skip 15follow_imports_for_stubs = true 16 17#Adding "sympy.* or mypy-sympy to the above list (3rd-party libs for which we don't have stubs) doesn't ignore "cannot find module 'sympy' error 18[mypy-sympy.*] 19ignore_missing_imports = True 20 21# Treat symbols imported from Google's protobuf library as type Any. 22# This supresses errors due to attributes not known to typeshed, 23# e.g. Descriptor._options. 24[mypy-google.protobuf.*] 25follow_imports = skip 26follow_imports_for_stubs = true 27 28# ruamel is a downstream dependency of cirq-rigetti through pyquil. 29[mypy-ruamel.*] 30ignore_missing_imports = true