Skip to content

Maintenance: Fix ruff lint issues in event_handler module #8088

Description

@leandrodamascena

Why is this needed?

Fix new ruff lint violations in aws_lambda_powertools/event_handler/ after the target bump.

Mostly Optional[X] to X | None and List[X] to list[X] changes.

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Activity

  1. hirenkumar-n-dholariya commented on May 7, 2026

    @hirenkumar-n-dholariya
    Contributor

    Hi @leandrodamascena,
    I have raised a PR to fix the ruff lint violations: #8208

    Fixed Optional[X] → X | None, List[X] → list[X], Dict[X,Y] → dict[X,Y], Set[X] → set[X] across all affected files in event_handler/ including openapi/models.py, swagger_ui/oauth2.py, graphql_appsync/base.py, and updated docstrings in appsync.py, util.py, and _registry.py.

    Happy to iterate if anything needs to be modified.

  2. powertools-for-aws-oss-automation commented on Jun 6, 2026

    @powertools-for-aws-oss-automation

    Warning

    This issue is now closed. Please be mindful that future comments are hard for our team to see.
    If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  3. github-actions commented on Jun 24, 2026

    @github-actions
    Contributor

    This is now released under 3.30.0 version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalMaintenance changes

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions