-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Remove mypy --next #5763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove mypy --next #5763
Changes from 7 commits
2e2130c
9e866f3
dc19cc9
b584f44
0b910af
cdf591d
ac22a6a
f027f11
5582dc0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,21 @@ 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.auth.*,google.oauth2.*,google.protobuf.text_format.*,quimb.*,pyquil.*,google.cloud.*,filelock.*,codeowners.*,tqdm.*,importlib_metadata.*,google.colab.*,IPython.*,astroid.*,pylint.*] | ||
|
||
[mypy-google.api_core.*,,google.auth.*,google.colab.*,google.protobuf.text_format.*,google.protobuf.*,google.cloud.*] | ||
follow_imports = silent | ||
ignore_missing_imports = true | ||
|
||
# Non-Google | ||
[mypy-sympy.*,matplotlib.*,proto.*,pandas.*,scipy.*,freezegun.*,mpl_toolkits.*,networkx.*,ply.*,astroid.*,pytest.*,_pytest.*,pylint.*,setuptools.*,qiskit.*,quimb.*,pylatex.*,filelock.*,sortedcontainers.*,tqdm.*] | ||
follow_imports = silent | ||
ignore_missing_imports = true | ||
|
||
# There was no type information before numpy 1.20, so there are numpy mypy issues in the codebase | ||
[mypy-numpy.*] | ||
follow_imports = skip | ||
follow_imports_for_stubs = 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 | ||
Comment on lines
22
to
27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps we can move this under the first Google block? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it has a slightly different structure for the flags it is changing |
||
|
||
# ruamel is a downstream dependency of cirq-rigetti through pyquil. | ||
[mypy-ruamel.*] | ||
ignore_missing_imports = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
,,
-->,
google.protobuf.*
should be perhaps removed, it has its own block at line 25