diff --git a/kms/attestations/noxfile_config.py b/kms/attestations/noxfile_config.py index f1fa9e5618b0..34d0d0b1bb8a 100644 --- a/kms/attestations/noxfile_config.py +++ b/kms/attestations/noxfile_config.py @@ -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 diff --git a/kms/attestations/verify_attestation.py b/kms/attestations/verify_attestation.py index cb296712f730..d56242b0194b 100644 --- a/kms/attestations/verify_attestation.py +++ b/kms/attestations/verify_attestation.py @@ -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: diff --git a/kms/snippets/noxfile_config.py b/kms/snippets/noxfile_config.py index f1fa9e5618b0..34d0d0b1bb8a 100644 --- a/kms/snippets/noxfile_config.py +++ b/kms/snippets/noxfile_config.py @@ -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