Skip to content

samples: add type hints to all samples  #264

@anguillanneuf

Description

@anguillanneuf

Add type hints so setting "enforce_type_hints" to True won't cause lint failures.

# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the googleapis/python-pubsub API.samplesIssues that are directly related to samples.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions