Skip to content

Option to specify immutable classes #203

@finswimmer

Description

@finswimmer

Hello,

my feature request was already mentioned here by @DylanYoung. Because the issue was about another topic, I thought it would be a good idea to put it into a new ticket.

I'd like to have an option to specify immutable classes. My concrete use case is fastapi. When you define your endpoints you have something like Depends() or Query() in the function calls, which results in a B008 error message by flake8-bugbear.

Of course one can mark those lines with a # noqa: B008, but depending on how large the application is, this is not quite.

fin swimmer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions