Skip to content

builtin-attribute-shadowing (A003) does not trigger for deferred annotation #24047

@nils-borrmann-tacto

Description

@nils-borrmann-tacto

Summary

The example code snippet from the docs of A003 works with target-version py312, but does not work with py314.

Version

ruff 0.15.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions