Skip to content

Commit

Permalink
Turn off type hints enforcing for old samples
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamborski committed Nov 11, 2022
1 parent 445e6a6 commit 3281555
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kms/attestations/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ignored_versions": ["2.7"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
"enforce_type_hints": False,
# An envvar key for determining the project id to use. Change it
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
# build specific Cloud project. You can also use your own string
Expand Down
2 changes: 1 addition & 1 deletion kms/attestations/verify_attestation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import pem


def verify(attestation_file: str, bundle_file: str):bool
def verify(attestation_file, bundle_file):
"""Verifies an attestation using a bundle of certificates.
Args:
Expand Down
2 changes: 1 addition & 1 deletion kms/snippets/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ignored_versions": ["2.7"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
"enforce_type_hints": False,
# An envvar key for determining the project id to use. Change it
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
# build specific Cloud project. You can also use your own string
Expand Down

0 comments on commit 3281555

Please sign in to comment.