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

feat: Skip calls to named function/methods #444

Merged
merged 16 commits into from
Nov 18, 2024
Merged

feat: Skip calls to named function/methods #444

merged 16 commits into from
Nov 18, 2024

Conversation

sourcefrog
Copy link
Owner

Adds new skip_calls args and config key, which prevent mutating arguments to named functions.

Concretely these default to with_capacity which is often uninteresting to mutate.

Fixes #315

@sourcefrog sourcefrog linked an issue Nov 18, 2024 that may be closed by this pull request
5 tasks
@sourcefrog sourcefrog marked this pull request as ready for review November 18, 2024 15:41
@sourcefrog sourcefrog merged commit aca4ae3 into main Nov 18, 2024
45 checks passed
@sourcefrog sourcefrog deleted the 315-skip-calls branch November 18, 2024 15:43
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.

Don't generate a mutation for .with_capacity
1 participant