Skip to content

Commit

Permalink
feat: Add py.typed for PEP 561 compliance (#976)
Browse files Browse the repository at this point in the history
Type annotations were added in commit
f8d4aaa. For these annotations to be
useful by library users, the package should install a py.typed file.
This tells mypy and other tools to consume and use these types.

For more details, see:
https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages
  • Loading branch information
jdufresne committed Sep 20, 2021
1 parent afdc1ed commit 96e6bee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions google/cloud/bigquery/py.typed
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-bigquery package uses inline types.

0 comments on commit 96e6bee

Please sign in to comment.