Skip to content

Conversation

@pahud
Copy link

@pahud pahud commented Oct 30, 2025

Description

Improve the Type pitfalls for Python with more details and recommendatoins.

Documentation Change Type:

  • Typo/grammar fix
  • Clarification or minor improvement
  • New example or code snippet
  • New section or topic
  • Major restructuring or enhancement

Affected Documentation Page(s):

Description of Changes

Motivation and Context

We are seeing some CDK Python users deploying their code with no type checks and that could potentially lead to unexpected results. We should strengthen the type checking in cdk python.

How Has This Been Validated?

Screenshots (if appropriate)

Checklist

  • My changes follow the AsciiDoc syntax guidelines
  • I have previewed my changes using GitHub's preview or a local AsciiDoc renderer
  • My changes maintain consistent formatting with the rest of the documentation
  • I have checked that all links work correctly

Additional Information

…elopment

- Expand section on preventing type errors in Python CDK development
- Add detailed instructions for IDE type checking with VS Code and PyCharm
- Include command-line type checking methods using MyPy and Pyright
- Provide recommended workflow for type checking during development and CI/CD
- Enhance documentation to help developers catch and prevent type-related errors early
@pahud pahud marked this pull request as ready for review October 30, 2025 18:58
@pahud pahud requested a review from a team as a code owner October 30, 2025 18:58
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