Skip to content

[Fix error, FAST002] "Fix introduced a syntax error. Reverting all changes" #22159

@tuttle

Description

@tuttle

Rule: FAST002 FastAPI dependency without Annotated

Ruff version: 0.14.10

Py module: Unfortunately, I cannot share the proprietary source code publicly, but I would love to help resolve this issue since Ruff is such a fantastic tool.

I attempted to create a minimal reproduction by stripping down the module (removing endpoints and function bodies), but the syntax error disappeared in the process. It seems the full module is necessary to trigger the bug.

Since GitHub doesn't support private attachments, is there an email address where I can send the file? You can reach me at [email protected].

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixesRelated to suggested fixes for violations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions