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.*] 9follow_imports = silent 10ignore_missing_imports = true 11 12#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 13[mypy-sympy.*] 14ignore_missing_imports = True 15 16# Treat symbols imported from Google's protobuf library as type Any. 17# This supresses errors due to attributes not known to typeshed, 18# e.g. Descriptor._options. 19[mypy-google.protobuf.*] 20follow_imports = skip 21follow_imports_for_stubs = true 22