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

Add Option to extend the list of immutable calls #204

Merged
merged 3 commits into from
Nov 27, 2021

Conversation

finswimmer
Copy link
Contributor

This PR adds in option to extend the list of immutable calls. Calls to these method as argument defaults no longer raises a B008 warning.

This is useful when using library like fastapi which comes with their own set of immutable calls.

Closes: #203

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition as people are always going to create more immutable calls etc. etc. so like the flexibility here.

@cooperlees cooperlees merged commit c452048 into PyCQA:master Nov 27, 2021
@finswimmer
Copy link
Contributor Author

Cool, thanks 👍 Any plans when a new release will arrive?

@cooperlees
Copy link
Collaborator

cooperlees commented Nov 28, 2021

Released now. Thanks for all your contributions.

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 this pull request may close these issues.

Option to specify immutable classes
2 participants