Skip to content

Improve the type annotation of empty container initializations#1447

Merged
nathanjmcdougall merged 2 commits intomainfrom
refactor/explicit-mutable-empty-init
Mar 22, 2026
Merged

Improve the type annotation of empty container initializations#1447
nathanjmcdougall merged 2 commits intomainfrom
refactor/explicit-mutable-empty-init

Conversation

@nathanjmcdougall
Copy link
Copy Markdown
Collaborator

This mostly comes up when using the accumulator pattern.

Toward #1332

This mostly comes up when using the accumulator pattern.

Toward #1332
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 22, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing refactor/explicit-mutable-empty-init (a4445b0) with main (5fe0bc4)

Open in CodSpeed

Also clarify the importance of static checks in the `usethis-qa-static-checks` skill
@nathanjmcdougall nathanjmcdougall merged commit b4d168e into main Mar 22, 2026
19 checks passed
@nathanjmcdougall nathanjmcdougall deleted the refactor/explicit-mutable-empty-init branch March 22, 2026 03:42
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

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.

1 participant