Skip to content

Commit 1f2b1d1

Browse files
authored
Missing stubs for mypy --next (#5670)
Adds missing stubs and makes consistent with mypi.ini. Likely need to audit this at some point.
1 parent f94d1f6 commit 1f2b1d1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dev_tools/conf/mypy-next.ini

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ follow_imports = silent
66
ignore_missing_imports = true
77

88
# 3rd-party libs for which we don't have stubs
9-
[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.*]
9+
[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.*]
1010
follow_imports = silent
1111
ignore_missing_imports = true
1212

@@ -15,8 +15,12 @@ ignore_missing_imports = true
1515
ignore_missing_imports = True
1616

1717
# Treat symbols imported from Google's protobuf library as type Any.
18-
# This supresses errors due to attributes not known to typeshed,
18+
# This suppresses errors due to attributes not known to typeshed,
1919
# e.g. Descriptor._options.
2020
[mypy-google.protobuf.*]
2121
follow_imports = skip
2222
follow_imports_for_stubs = true
23+
24+
# ruamel is a downstream dependency of cirq-rigetti through pyquil.
25+
[mypy-ruamel.*]
26+
ignore_missing_imports = true

0 commit comments

Comments
 (0)