Skip to content

Update obsolete Python 2 type-hint guidance - #2188

Open
eyesofish wants to merge 1 commit into
aws:masterfrom
eyesofish:docs/update-python-support-guidance
Open

Update obsolete Python 2 type-hint guidance#2188
eyesofish wants to merge 1 commit into
aws:masterfrom
eyesofish:docs/update-python-support-guidance

Conversation

@eyesofish

Copy link
Copy Markdown

Issue #, if available:

N/A

Description of changes:

Update the type-checking guidance to reflect that Chalice no longer supports Python 2. Function annotations may now be used for type hints, consistent with the current Python 3.10+ package requirement and CI matrix.

Validation:

  • Ran git diff --check.
  • Ran doc8 --ignore D001 CONTRIBUTING.rst successfully.
  • Compared baseline and working-tree doc8 output; both contain only the same pre-existing D001 diagnostic on line 5, and this patch introduces no new diagnostics.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@eyesofish eyesofish changed the title Update obsolete Python 2 type guidance Update obsolete Python 2 type-hint guidance Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant