-
Notifications
You must be signed in to change notification settings - Fork 61
chore: ensure mypy passes #448
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
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
53d679f
chore: ensure mypy passes
crwilcox c2e2b6d
🦉 Updates from OwlBot
gcf-owl-bot[bot] 65c9024
chore: move type info to inline, not mypy.ini
crwilcox a55082c
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox b8e02fd
🦉 Updates from OwlBot
gcf-owl-bot[bot] 2fbaaff
test: add mypy test scenario
crwilcox 470525a
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox 3d62bab
🦉 Updates from OwlBot
gcf-owl-bot[bot] 781784e
chore: simplify type of __version__
crwilcox d840468
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox 9b13a68
🦉 Updates from OwlBot
gcf-owl-bot[bot] a93d619
chore: expand typing verification to google namespace
crwilcox e163ee4
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox daf4ebe
🦉 Updates from OwlBot
gcf-owl-bot[bot] 3be3a43
chore: remove ignores on api_core module
crwilcox 4bef210
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox 0ad8008
chore: no pytype
crwilcox 21cf1f3
chore: scope to just google.cloud.bigtable, defer fixing errors on br…
crwilcox e3b497e
🦉 Updates from OwlBot
gcf-owl-bot[bot] 09ddb7f
chore: fix template
crwilcox 3d19a0e
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox a382edb
🦉 Updates from OwlBot
gcf-owl-bot[bot] d428a0d
chore: lint
crwilcox 590907c
Merge branch 'mypy' of github.com:googleapis/python-bigtable into mypy
crwilcox 6d9a117
fix: break circular import
tseaver fbdc354
fix: unsnarl typing around list of retryable status codes
tseaver 65a472b
ci: fix coverage gap induced by typing
tseaver File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
from typing import List | ||
|
||
try: | ||
import pkg_resources | ||
|
||
pkg_resources.declare_namespace(__name__) | ||
except ImportError: | ||
import pkgutil | ||
|
||
__path__ = pkgutil.extend_path(__path__, __name__) | ||
__path__: List[str] = pkgutil.extend_path(__path__, __name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[mypy] | ||
python_version = 3.6 | ||
namespace_packages = True | ||
|
||
[mypy-google.protobuf] | ||
ignore_missing_imports = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.