Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to specify immutable classes #203

Closed
finswimmer opened this issue Nov 19, 2021 · 0 comments · Fixed by #204
Closed

Option to specify immutable classes #203

finswimmer opened this issue Nov 19, 2021 · 0 comments · Fixed by #204

Comments

@finswimmer
Copy link
Contributor

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

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 a pull request may close this issue.

1 participant